public function PanelsStorageManagerInterface::save in Panels 8.3
Same name and namespace in other branches
- 8.4 src/Storage/PanelsStorageManagerInterface.php \Drupal\panels\Storage\PanelsStorageManagerInterface::save()
Saves a Panels display.
Parameters
\Drupal\panels\Plugin\DisplayVariant\PanelsDisplayVariant $panels_display: The Panels display to save. $panels_display->getStorageType() and $panels_display->getStorageId() must return the storage type and id as known to the storage plugin.
Throws
\Exception If $panels->getStorageType() or $panels->getStorageId() aren't set, the storage plugin can't be found, or there is no Panels display found in the storage plugin with the given id.
1 method overrides PanelsStorageManagerInterface::save()
- PanelsStorageManager::save in src/
Storage/ PanelsStorageManager.php - Saves a Panels display.
File
- src/
Storage/ PanelsStorageManagerInterface.php, line 55
Class
- PanelsStorageManagerInterface
- Interface for the Panels storage manager service.
Namespace
Drupal\panels\StorageCode
public function save(PanelsDisplayVariant $panels_display);