You are here

public function ExcludePages::__construct in Advanced Page Expiration 8

File

src/PageCache/ExcludePages.php, line 34

Class

ExcludePages
Cache policy that denies caching if the page matches a list of exclusions.

Namespace

Drupal\ape\PageCache

Code

public function __construct(ConfigFactoryInterface $config_factory, FactoryInterface $plugin_factory) {
  $this->config = $config_factory
    ->get('ape.settings');
  $this->conditionManager = $plugin_factory;
}