public function Aggregates::__construct in Advanced CSS/JS Aggregation 8.2
Constructs the State object.
Parameters
\Drupal\Core\KeyValueStore\KeyValueFactoryInterface $key_value_factory: The key value store to use.
\Drupal\Core\Cache\CacheBackendInterface $cache: The cache object to use.
\Drupal\Core\Lock\LockBackendInterface $lock: The lock object to use.
Overrides State::__construct
File
- src/
State/ Aggregates.php, line 25
Class
- Aggregates
- Provides AdvAgg with saved aggregrate information using a key value store.
Namespace
Drupal\advagg\StateCode
public function __construct(KeyValueFactoryInterface $key_value_factory, CacheBackendInterface $cache, LockBackendInterface $lock) {
parent::__construct($key_value_factory, $cache, $lock);
$this->keyValueStore = $key_value_factory
->get('advagg_aggregates');
$this->pathColumn = 'uri';
}