LocaleTranslationCacheTag

A subscriber invalidating cache tags when translating a string.

Hierarchy

File

core/modules/locale/src/EventSubscriber/LocaleTranslationCacheTag.php, line 12

Namespace

Drupal\locale\EventSubscriber

Members

Name Modifiers Type Description
LocaleTranslationCacheTag::$cacheTagsInvalidator protected property The cache tags invalidator.
LocaleTranslationCacheTag::getSubscribedEvents public static function Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents
LocaleTranslationCacheTag::saveTranslation public function Invalidate cache tags whenever a string is translated.
LocaleTranslationCacheTag::__construct public function Constructs a LocaleTranslationCacheTag object.
doc_Drupal
2016-10-29 09:24:12
Comments
Leave a Comment

Please login to continue.