namespace Drupal\layout_builder_test\Plugin\Layout

Same name in other branches
  1. 10 Drupal\layout_builder_test\Plugin\Layout
  2. 11.x Drupal\layout_builder_test\Plugin\Layout
  3. 8.9.x Drupal\layout_builder_test\Plugin\Layout
Object name File name Summary
LayoutBuilderTestPlugin core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Layout/LayoutBuilderTestPlugin.php Plugin annotation

@Layout(
id = "layout_builder_test_plugin",
label = @Translation("Layout Builder Test Plugin"),
regions = {
"main" = {
"label" = @Translation("Main Region")
}
},
)
LayoutWithoutLabel core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Layout/LayoutWithoutLabel.php Layout plugin without a label configuration.
TestContextAwareLayout core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Layout/TestContextAwareLayout.php Plugin annotation

@Layout(
id = "layout_builder_test_context_aware",
label = @Translation("Layout Builder Test: Context Aware"),
regions = {
"main" = {
"label" = @Translation("Main Region")
}
},
context_definitions = {

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.