public function OverridesSectionStorage::getStorageId in Drupal 8
Same name and namespace in other branches
- 9 core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php \Drupal\layout_builder\Plugin\SectionStorage\OverridesSectionStorage::getStorageId()
Returns an identifier for this storage.
Return value
string The unique identifier for this storage.
Overrides SectionStorageInterface::getStorageId
File
- core/
modules/ layout_builder/ src/ Plugin/ SectionStorage/ OverridesSectionStorage.php, line 146
Class
- OverridesSectionStorage
- Defines the 'overrides' section storage type.
Namespace
Drupal\layout_builder\Plugin\SectionStorageCode
public function getStorageId() {
$entity = $this
->getEntity();
return $entity
->getEntityTypeId() . '.' . $entity
->id();
}