for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace NuvoleWeb\Drupal\Driver\Objects\Drupal8;
use NuvoleWeb\Drupal\Driver\Objects\StateInterface;
/**
* Class State
*
* @package NuvoleWeb\Drupal\Driver\Objects\Drupal8
*/
class State implements StateInterface {
* {@inheritdoc}
public function get($key, $default = NULL) {
\Drupal::state()->get($key, $default);
}
public function set($key, $value) {
\Drupal::state()->set($key, $value);
public function delete($key) {
\Drupal::state()->delete($key);
public function resetCache() {
\Drupal::state()->resetCache();