public function PageManagerSectionStorage::save in Page Manager 8.4
Saves the sections.
Return value
int SAVED_NEW or SAVED_UPDATED is returned depending on the operation performed.
Overrides SectionStorageInterface::save
File
- src/
Plugin/ SectionStorage/ PageManagerSectionStorage.php, line 198
Class
- PageManagerSectionStorage
- Defines the 'page_manager' section storage type.
Namespace
Drupal\page_manager\Plugin\SectionStorageCode
public function save() {
$page_variant = $this
->getPageVariant();
return $page_variant
->save();
}