You are here

public function Library::getStorageId in Layout builder library 8

Returns an identifier for this storage.

Return value

string The unique identifier for this storage.

Overrides SectionStorageInterface::getStorageId

File

src/Plugin/SectionStorage/Library.php, line 101

Class

Library
Defines a class for library based layout storage.

Namespace

Drupal\layout_library\Plugin\SectionStorage

Code

public function getStorageId() {
  return $this
    ->getLayout()
    ->id();
}