class TestLayoutContentFooter

Same name in other branches
  1. 8.9.x core/modules/field_layout/tests/modules/field_layout_test/src/Plugin/Layout/TestLayoutContentFooter.php \Drupal\field_layout_test\Plugin\Layout\TestLayoutContentFooter
  2. 10 core/modules/field_layout/tests/modules/field_layout_test/src/Plugin/Layout/TestLayoutContentFooter.php \Drupal\field_layout_test\Plugin\Layout\TestLayoutContentFooter
  3. 11.x core/modules/field_layout/tests/modules/field_layout_test/src/Plugin/Layout/TestLayoutContentFooter.php \Drupal\field_layout_test\Plugin\Layout\TestLayoutContentFooter

Provides an annotated layout plugin for field_layout tests.

Plugin annotation


@Layout(
  id = "test_layout_content_and_footer",
  label = @Translation("Test plugin: Content and Footer"),
  category = @Translation("Layout test"),
  description = @Translation("Test layout"),
  regions = {
    "content" = {
      "label" = @Translation("Content Region")
    },
    "footer" = {
      "label" = @Translation("Footer Region")
    }
  },
)

Hierarchy

Expanded class hierarchy of TestLayoutContentFooter

File

core/modules/field_layout/tests/modules/field_layout_test/src/Plugin/Layout/TestLayoutContentFooter.php, line 25

Namespace

Drupal\field_layout_test\Plugin\Layout
View source
class TestLayoutContentFooter extends LayoutDefault {

}

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