StateInterface::set

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

public function set($key, $value);
doc_Drupal
2016-10-29 09:43:58
Comments
Leave a Comment

Please login to continue.