public function SectionStorageBase::removeAllSections in Drupal 10
Same name and namespace in other branches
- 8 core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageBase.php \Drupal\layout_builder\Plugin\SectionStorage\SectionStorageBase::removeAllSections()
- 9 core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageBase.php \Drupal\layout_builder\Plugin\SectionStorage\SectionStorageBase::removeAllSections()
File
- core/
modules/ layout_builder/ src/ Plugin/ SectionStorage/ SectionStorageBase.php, line 87
Class
- SectionStorageBase
- Provides a base class for Section Storage types.
Namespace
Drupal\layout_builder\Plugin\SectionStorageCode
public function removeAllSections($set_blank = FALSE) {
$this
->getSectionList()
->removeAllSections($set_blank);
return $this;
}