public function SectionStorageInterface::save in Drupal 9
Same name and namespace in other branches
- 8 core/modules/layout_builder/src/SectionStorageInterface.php \Drupal\layout_builder\SectionStorageInterface::save()
- 10 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 117
Class
- SectionStorageInterface
- Defines an interface for Section Storage type plugins.
Namespace
Drupal\layout_builderCode
public function save();