Returns a key/value storage collection.
string $collection: Name of the key/value collection to return.
\Drupal\Core\KeyValueStore\KeyValueStoreInterface
protected function keyValue($collection) { if (!$this->keyValue) { $this->keyValue = $this->container() ->get('keyvalue') ->get($collection); } return $this->keyValue; }