function SectionListTraitTest::getSectionList
Same name and namespace in other branches
- 10 core/modules/layout_builder/tests/src/Kernel/SectionListTraitTest.php \Drupal\Tests\layout_builder\Kernel\SectionListTraitTest::getSectionList()
- 11.x core/modules/layout_builder/tests/src/Kernel/SectionListTraitTest.php \Drupal\Tests\layout_builder\Kernel\SectionListTraitTest::getSectionList()
Overrides SectionListTestBase::getSectionList
File
-
core/
modules/ layout_builder/ tests/ src/ Kernel/ SectionListTraitTest.php, line 19
Class
- SectionListTraitTest
- @coversDefaultClass <a href="/api/drupal/core%21modules%21layout_builder%21src%21SectionListTrait.php/trait/SectionListTrait/9" title="Provides a trait for maintaining a list of sections." class="local">\Drupal\layout_builder\SectionListTrait</a>
Namespace
Drupal\Tests\layout_builder\KernelCode
protected function getSectionList(array $section_data) {
return new TestSectionList($section_data);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.