function SectionListTraitTest::getSectionList

Same name in other branches
  1. 9 core/modules/layout_builder/tests/src/Kernel/SectionListTraitTest.php \Drupal\Tests\layout_builder\Kernel\SectionListTraitTest::getSectionList()
  2. 10 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 21

Class

SectionListTraitTest
@coversDefaultClass \Drupal\layout_builder\SectionListTrait

Namespace

Drupal\Tests\layout_builder\Kernel

Code

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.