You are here

public function PanelsStorageInterface::save in Panels 8.3

Same name and namespace in other branches
  1. 8.4 src/Storage/PanelsStorageInterface.php \Drupal\panels\Storage\PanelsStorageInterface::save()

Saves a Panels display.

Parameters

\Drupal\panels\Plugin\DisplayVariant\PanelsDisplayVariant $panels_display: The Panels display to save. $panels_display->getStorageId() must return the display's id as known to this storage plugin.

Throws

\Exception If the storage information isn't set, or there is no such Panels display.

1 method overrides PanelsStorageInterface::save()
PageManagerPanelsStorage::save in src/Plugin/PanelsStorage/PageManagerPanelsStorage.php
Saves a Panels display.

File

src/Storage/PanelsStorageInterface.php, line 38

Class

PanelsStorageInterface
Interface for storing Panels displays in various ways.

Namespace

Drupal\panels\Storage

Code

public function save(PanelsDisplayVariant $panels_display);