function OverridesSectionStorage::getEntity
Gets the entity storing the overrides.
Return value
\Drupal\Core\Entity\FieldableEntityInterface The entity storing the overrides.
6 calls to OverridesSectionStorage::getEntity()
- OverridesSectionStorage::access in core/modules/ layout_builder/ src/ Plugin/ SectionStorage/ OverridesSectionStorage.php 
- Overrides \Drupal\Core\Access\AccessibleInterface::access().
- OverridesSectionStorage::getDefaultSectionStorage in core/modules/ layout_builder/ src/ Plugin/ SectionStorage/ OverridesSectionStorage.php 
- Returns the corresponding defaults section storage for this override.
- OverridesSectionStorage::getLayoutBuilderUrl in core/modules/ layout_builder/ src/ Plugin/ SectionStorage/ OverridesSectionStorage.php 
- Gets the URL used to display the Layout Builder UI.
- OverridesSectionStorage::getStorageId in core/modules/ layout_builder/ src/ Plugin/ SectionStorage/ OverridesSectionStorage.php 
- Returns an identifier for this storage.
- OverridesSectionStorage::getTempstoreKey in core/modules/ layout_builder/ src/ Plugin/ SectionStorage/ OverridesSectionStorage.php 
- Gets a string suitable for use as a tempstore key.
File
- 
              core/modules/ layout_builder/ src/ Plugin/ SectionStorage/ OverridesSectionStorage.php, line 135 
Class
- OverridesSectionStorage
- Defines the 'overrides' section storage type.
Namespace
Drupal\layout_builder\Plugin\SectionStorageCode
protected function getEntity() {
  return $this->getContextValue('entity');
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
