Defines the interface for the state system.
| 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. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!State!StateInterface.php/interface/StateInterface/8.1.x