public function BusinessRulesUtil::getKeyValueExpirable in Business Rules 8
Same name and namespace in other branches
- 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\UtilCode
public function getKeyValueExpirable($collection) {
return $this->keyValueExpirable
->get('business_rules.' . $collection);
}