public LocaleTranslationCacheTag::__construct(CacheTagsInvalidatorInterface $cache_tags_invalidator)
Constructs a LocaleTranslationCacheTag object.
Parameters
\Drupal\Core\Cache\CacheTagsInvalidatorInterface $cache_tags_invalidator: The cache tags invalidator.
File
- core/modules/locale/src/EventSubscriber/LocaleTranslationCacheTag.php, line 27
Class
- LocaleTranslationCacheTag
- A subscriber invalidating cache tags when translating a string.
Namespace
Drupal\locale\EventSubscriber
Code
public function __construct(CacheTagsInvalidatorInterface $cache_tags_invalidator) { $this->cacheTagsInvalidator = $cache_tags_invalidator; }
Please login to continue.