public function TestSectionList::getSections in Drupal 8
Same name and namespace in other branches
- 9 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;
}