public function SectionStorageInterface::save in Drupal 8
Same name and namespace in other branches
- 9 core/modules/layout_builder/src/SectionStorageInterface.php \Drupal\layout_builder\SectionStorageInterface::save()
Saves the sections.
Return value
int SAVED_NEW or SAVED_UPDATED is returned depending on the operation performed.
4 methods override SectionStorageInterface::save()
- DefaultsSectionStorage::save in core/
modules/ layout_builder/ src/ Plugin/ SectionStorage/ DefaultsSectionStorage.php - Saves the sections.
- OverridesSectionStorage::save in core/
modules/ layout_builder/ src/ Plugin/ SectionStorage/ OverridesSectionStorage.php - Saves the sections.
- SimpleConfigSectionStorage::save in core/
modules/ layout_builder/ tests/ modules/ layout_builder_test/ src/ Plugin/ SectionStorage/ SimpleConfigSectionStorage.php - Saves the sections.
- TestStateBasedSectionStorage::save in core/
modules/ layout_builder/ tests/ modules/ layout_builder_test/ src/ Plugin/ SectionStorage/ TestStateBasedSectionStorage.php - Saves the sections.
File
- core/
modules/ layout_builder/ src/ SectionStorageInterface.php, line 162
Class
- SectionStorageInterface
- Defines an interface for Section Storage type plugins.
Namespace
Drupal\layout_builderCode
public function save();