You are here

public function ConfigCacheInvalidator::__construct in Sub-pathauto (Sub-path URL Aliases) 8

Constructs a SubPathautoSettingsCacheInvalidator object.

Parameters

\Drupal\Core\Cache\CacheTagsInvalidatorInterface $cache_tags_invalidator: The cache tags invalidator.

File

src/EventSubscriber/ConfigCacheInvalidator.php, line 28

Class

ConfigCacheInvalidator
A subscriber invalidating cache tags when subpathauto config is saved.

Namespace

Drupal\subpathauto\EventSubscriber

Code

public function __construct(CacheTagsInvalidatorInterface $cache_tags_invalidator) {
  $this->cacheTagsInvalidator = $cache_tags_invalidator;
}