block_style_plugins_test.blockstyle.yml in Block Style Plugins 8.2
Same filename and directory in other branches
tests/modules/block_style_plugins_test/block_style_plugins_test.blockstyle.yml
File
tests/modules/block_style_plugins_test/block_style_plugins_test.blockstyle.ymlView source
- checkbox_with_exclude:
- label: 'Checkbox with Exclude'
- class: '\Drupal\block_style_plugins_test\Plugin\BlockStyle\CheckboxWithExclude'
- exclude:
- - 'system_powered_by_block'
- - 'basic'
-
- form_fields_created_with_yaml:
- label: 'Styles Created by Yaml'
- include:
- - 'system_powered_by_block'
- form:
- 'test_field':
- '#type': 'textfield'
- '#title': 'Title Created by Yaml'
- '#default_value': 'text goes here'
- 'second_field':
- '#type': 'select'
- '#title': 'Choose a style'
- '#options':
- 'style-1': 'Style 1'
- 'style-2': 'Style 2'
-
- template_set_with_yaml:
- label: 'Template Set by Yaml'
- template: 'block__test_custom'
- form:
- 'test_field':
- '#type': 'textfield'
- '#title': 'Template Title'
-
- embed_on_layout_builder:
- label: 'Embed on Layout Builder Form'
- include:
- - 'system_breadcrumb_block'
- layout_builder_embed_form: true
- form:
- 'test_embedded_field':
- '#type': 'textfield'
- '#title': 'Embed on Layout Builder Form'
- '#default_value': 'text goes here'
-
- section_class:
- label: 'Add a custom class to a Layout Builder section'
- type: 'section'
- form:
- 'test_section_field':
- '#type': 'textfield'
- '#title': 'Add class on section'
- '#default_value': 'class goes here'