interface TempStoreIdentifierInterface in Drupal 9
Same name and namespace in other branches
- 8 core/modules/layout_builder/src/TempStoreIdentifierInterface.php \Drupal\layout_builder\TempStoreIdentifierInterface
- 10 core/modules/layout_builder/src/TempStoreIdentifierInterface.php \Drupal\layout_builder\TempStoreIdentifierInterface
Provides an interface that allows an object to provide its own tempstore key.
@todo Move to \Drupal\Core\TempStore in https://www.drupal.org/node/3026957.
Hierarchy
- interface \Drupal\layout_builder\TempStoreIdentifierInterface
Expanded class hierarchy of TempStoreIdentifierInterface
All classes that implement TempStoreIdentifierInterface
1 file declares its use of TempStoreIdentifierInterface
- SectionStorageBase.php in core/modules/ layout_builder/ src/ Plugin/ SectionStorage/ SectionStorageBase.php 
File
- core/modules/ layout_builder/ src/ TempStoreIdentifierInterface.php, line 10 
Namespace
Drupal\layout_builderView source
interface TempStoreIdentifierInterface {
  /**
   * Gets a string suitable for use as a tempstore key.
   *
   * @return string
   *   A string to be used as the key for a tempstore item.
   */
  public function getTempstoreKey();
}Members
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| TempStoreIdentifierInterface:: | public | function | Gets a string suitable for use as a tempstore key. | 1 | 
