public function ConfigCacheTag::__construct in Real Name 2.x
Same name and namespace in other branches
- 8 src/EventSubscriber/ConfigCacheTag.php \Drupal\realname\EventSubscriber\ConfigCacheTag::__construct()
Constructs a RealnameCacheTag object.
Parameters
\Drupal\Core\Cache\CacheTagsInvalidatorInterface $cache_tags_invalidator: The cache tags invalidator.
File
- src/
EventSubscriber/ ConfigCacheTag.php, line 28
Class
- ConfigCacheTag
- A subscriber invalidating cache tags when realname config objects are saved.
Namespace
Drupal\realname\EventSubscriberCode
public function __construct(CacheTagsInvalidatorInterface $cache_tags_invalidator) {
$this->cacheTagsInvalidator = $cache_tags_invalidator;
}