public StateInterface::set($key, $value)
Saves a value for a given key.
Parameters
string $key: The key of the data to store.
mixed $value: The data to store.
File
- core/lib/Drupal/Core/State/StateInterface.php, line 44
Class
- StateInterface
- Defines the interface for the state system.
Namespace
Drupal\Core\State
Code
1 | public function set( $key , $value ); |
Please login to continue.