public function DashboardSectionStorage::save in Dashboards with Layout Builder 8
Same name and namespace in other branches
- 2.0.x src/Plugin/SectionStorage/DashboardSectionStorage.php \Drupal\dashboards\Plugin\SectionStorage\DashboardSectionStorage::save()
Saves the sections.
Return value
int SAVED_NEW or SAVED_UPDATED is returned depending on the operation performed.
Overrides SectionStorageInterface::save
1 method overrides DashboardSectionStorage::save()
- UserDashboardSectionStorage::save in src/
Plugin/ SectionStorage/ UserDashboardSectionStorage.php - Saves the sections.
File
- src/
Plugin/ SectionStorage/ DashboardSectionStorage.php, line 199
Class
- DashboardSectionStorage
- Dashboard section storage.
Namespace
Drupal\dashboards\Plugin\SectionStorageCode
public function save() {
return $this
->getDashboard()
->save();
}