You are here

public function SectionStorageBase::getTempstoreKey in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageBase.php \Drupal\layout_builder\Plugin\SectionStorage\SectionStorageBase::getTempstoreKey()

Gets a string suitable for use as a tempstore key.

Return value

string A string to be used as the key for a tempstore item.

Overrides TempStoreIdentifierInterface::getTempstoreKey

1 call to SectionStorageBase::getTempstoreKey()
OverridesSectionStorage::getTempstoreKey in core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php
Gets a string suitable for use as a tempstore key.
1 method overrides SectionStorageBase::getTempstoreKey()
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/SectionStorageBase.php, line 129

Class

SectionStorageBase
Provides a base class for Section Storage types.

Namespace

Drupal\layout_builder\Plugin\SectionStorage

Code

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