public function TestSectionList::getSections in Drupal 9
Same name and namespace in other branches
- 8 core/modules/layout_builder/tests/src/Kernel/SectionListTraitTest.php \Drupal\Tests\layout_builder\Kernel\TestSectionList::getSections()
Gets the layout sections.
Return value
\Drupal\layout_builder\Section[] A sequentially and numerically keyed array of section objects.
Overrides SectionListInterface::getSections
File
- core/
modules/ layout_builder/ tests/ src/ Kernel/ SectionListTraitTest.php, line 69
Class
Namespace
Drupal\Tests\layout_builder\KernelCode
public function getSections() {
return $this->sections;
}