You are here

public function PageManagerSectionStorage::getStorageId in Page Manager 8.4

Returns an identifier for this storage.

Return value

string The unique identifier for this storage.

Overrides SectionStorageInterface::getStorageId

File

src/Plugin/SectionStorage/PageManagerSectionStorage.php, line 129

Class

PageManagerSectionStorage
Defines the 'page_manager' section storage type.

Namespace

Drupal\page_manager\Plugin\SectionStorage

Code

public function getStorageId() {
  return $this
    ->getContextValue('entity')
    ->id();
}