function SectionStorageInterface::save

Same name in other branches
  1. 9 core/modules/layout_builder/src/SectionStorageInterface.php \Drupal\layout_builder\SectionStorageInterface::save()
  2. 8.9.x core/modules/layout_builder/src/SectionStorageInterface.php \Drupal\layout_builder\SectionStorageInterface::save()
  3. 11.x 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.

5 methods override SectionStorageInterface::save()
DefaultsSectionStorage::save in core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php
Saves the sections.
NavigationSectionStorage::save in core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.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_builder

Code

public function save();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.