public function OverridesSectionStorage::getStorageId in Drupal 9
Same name and namespace in other branches
- 8 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 142
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();
}