public static Drupal::keyValue($collection)
Returns a key/value storage collection.
string $collection: Name of the key/value collection to return.
\Drupal\Core\KeyValueStore\KeyValueStoreInterface
public static function keyValue($collection) { return static::getContainer()->get('keyvalue')->get($collection); }
© 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.php/function/Drupal::keyValue/8.1.x