Defines the interface for the state system.
Hierarchy
- interface \Drupal\Core\State\StateInterface
Related topics
- State API
- Information about the State API.
File
- core/lib/Drupal/Core/State/StateInterface.php, line 10
Namespace
Drupal\Core\State
Members
Name | Modifiers | Type | Description |
---|---|---|---|
StateInterface::delete | public | function | Deletes an item. |
StateInterface::deleteMultiple | public | function | Deletes multiple items. |
StateInterface::get | public | function | Returns the stored value for a given key. |
StateInterface::getMultiple | public | function | Returns the stored key/value pairs for a given set of keys. |
StateInterface::resetCache | public | function | Resets the static cache. |
StateInterface::set | public | function | Saves a value for a given key. |
StateInterface::setMultiple | public | function | Saves key/value pairs. |
Please login to continue.