drupal/core/modules/block/config/schema/block.schema.yml

96 lines
2.1 KiB
YAML

# Schema for the configuration files of the Block module.
block.block.*:
type: mapping
label: 'Block'
mapping:
id:
type: string
label: 'ID'
uuid:
type: string
label: 'UUID'
theme:
type: string
label: 'Theme'
region:
type: string
label: 'Region'
weight:
type: integer
label: 'Weight'
module:
type: string
label: 'Module'
status:
type: boolean
label: 'Status'
visibility:
type: mapping
label: 'Visibility settings'
mapping:
path:
type: mapping
label: 'Pages'
mapping:
visibility:
type: integer
label: 'Visibility'
pages:
type: string
label: 'Show block on specific pages'
role:
type: mapping
label: 'Roles'
mapping:
roles:
type: sequence
label: 'Show block for specific roles'
sequence:
- type: string
label: 'Role'
node_type:
type: mapping
label: 'Content types'
mapping:
types:
type: sequence
label: 'Show block for specific content types'
sequence:
- type: string
label: 'Node type'
visibility__active_tab:
type: string
label: 'Visibility active tab'
plugin:
type: string
label: 'Plugin'
settings:
type: mapping
label: 'Block settings'
mapping:
label:
type: label
label: 'Description'
label_display:
type: string
label: 'Display title'
cache:
type: integer
label: 'Cache'
status:
type: boolean
label: 'Status'
info:
type: label
label: 'Admin info'
view_mode:
type: string
label: 'View mode'
module:
type: string
label: 'Module'
langcode:
type: string
label: 'Default language'