"Fossies" - the Fresh Open Source Software Archive

Member "drupal-8.9.10/core/modules/views/config/schema/views.display.schema.yml" (26 Nov 2020, 3039 Bytes) of package /linux/www/drupal-8.9.10.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # Schema for the views display plugins.
    2 
    3 views.display.default:
    4   type: views_display
    5   label: 'Default display options'
    6 
    7 views_display_path:
    8   type: views_display
    9   mapping:
   10     path:
   11       type: string
   12       label: 'Page path'
   13     route_name:
   14       type: string
   15       label: 'Route name'
   16 
   17 views.display.page:
   18   type: views_display_path
   19   label: 'Page display options'
   20   mapping:
   21     menu:
   22       type: mapping
   23       label: 'Menu'
   24       mapping:
   25         type:
   26           type: string
   27           label: 'Type'
   28         title:
   29           type: text
   30           label: 'Title'
   31         description:
   32           type: text
   33           label: 'Description'
   34         weight:
   35           type: integer
   36           label: 'Weight'
   37         enabled:
   38           type: boolean
   39           label: 'Enabled'
   40         expanded:
   41           type: boolean
   42           label: 'Expanded'
   43         menu_name:
   44           type: string
   45           label: 'Menu name'
   46         parent:
   47           type: string
   48           label: 'Parent'
   49         context:
   50           type: string
   51           label: 'Context'
   52     tab_options:
   53       type: mapping
   54       label: 'Tab options'
   55       mapping:
   56         type:
   57           type: string
   58           label: 'Type'
   59         title:
   60           type: text
   61           label: 'Title'
   62         description:
   63           type: text
   64           label: 'Description'
   65         weight:
   66           type: integer
   67           label: 'Weight'
   68         menu_name:
   69           type: string
   70           label: 'Menu name'
   71 
   72 views.display.block:
   73   type: views_display
   74   label: 'Block display options'
   75   mapping:
   76     block_description:
   77       type: label
   78       label: 'Block name'
   79     block_category:
   80       type: text
   81       label: 'Block category'
   82     block_hide_empty:
   83       type: boolean
   84       label: 'Hide block if no result/empty text'
   85     allow:
   86       type: mapping
   87       label: 'Allow'
   88       mapping:
   89         items_per_page:
   90          type: boolean
   91          label: 'Items per page'
   92 
   93 views.display.feed:
   94   type: views_display_path
   95   label: 'Feed display options'
   96   mapping:
   97     sitename_title:
   98       type: boolean
   99       label: 'Use the site name for the title'
  100     displays:
  101       type: sequence
  102       label: 'The feed icon will be available only to the selected displays.'
  103       sequence:
  104         type: string
  105         label: 'Display'
  106 
  107 views.display.embed:
  108   type: views_display
  109   label: 'Embed display options'
  110 
  111 views.display.attachment:
  112   type: views_display
  113   label: 'Attachment display options'
  114   mapping:
  115     displays:
  116       type: sequence
  117       label: 'Attach to'
  118       sequence:
  119         type: string
  120         label: 'Display'
  121     attachment_position:
  122       type: string
  123       label: 'Attachment position'
  124     inherit_arguments:
  125       type: boolean
  126       label: 'Inherit contextual filters'
  127     inherit_exposed_filters:
  128       type: boolean
  129       label: 'Inherit exposed filters'
  130     inherit_pager:
  131       type: boolean
  132       label: 'Inherit pager'
  133     render_pager:
  134       type: boolean
  135       label: 'Render pager'
  136 
  137 views.display.entity_reference:
  138   type: views_display
  139   label: 'Entity Reference'