interface TempStoreIdentifierInterface (View source)

Provides an interface that allows an object to provide its own tempstore key.

Move to \Drupal\Core\TempStore in https://www.drupal.org/node/3026957.

Methods

string
getTempstoreKey()

Gets a string suitable for use as a tempstore key.

Details

string 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.