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

91 lines
2.1 KiB
YAML
Raw Normal View History

# Schema for the configuration files of the Block module.
block.block.*:
type: config_entity
label: 'Block'
mapping:
theme:
type: string
label: 'Theme'
region:
type: string
label: 'Region'
weight:
type: integer
label: 'Weight'
provider:
type: string
label: 'Provider'
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'
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: mapping
label: 'Cache settings'
mapping:
max_age:
type: integer
label: 'Maximum age'
contexts:
type: sequence
label: 'Vary by context'
sequence:
- type: string
label: 'Context'
status:
type: boolean
label: 'Status'
info:
type: label
label: 'Admin info'
view_mode:
type: string
label: 'View mode'
provider:
type: string
label: 'Provider'