function 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 72
Class
Namespace
Drupal\Tests\layout_builder\KernelCode
public function getSections() {
return $this->sections;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.