You are here

public function BusinessRulesUtil::getKeyValueExpirable in Business Rules 8

Same name and namespace in other branches
  1. 2.x src/Util/BusinessRulesUtil.php \Drupal\business_rules\Util\BusinessRulesUtil::getKeyValueExpirable()

Get the Business Rules keyValueExpirable collection.

Parameters

string $collection: The keyvalue collection.

Return value

\Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface The keyValueFactory.

File

src/Util/BusinessRulesUtil.php, line 547

Class

BusinessRulesUtil
Class BusinessRulesUtil.

Namespace

Drupal\business_rules\Util

Code

public function getKeyValueExpirable($collection) {
  return $this->keyValueExpirable
    ->get('business_rules.' . $collection);
}