1. 8.5.x core/modules/locale/src/LocaleEvents.php LocaleEvents::SAVE_TRANSLATION
  2. 8.0.x core/modules/locale/src/LocaleEvents.php LocaleEvents::SAVE_TRANSLATION
  3. 8.1.x core/modules/locale/src/LocaleEvents.php LocaleEvents::SAVE_TRANSLATION
  4. 8.2.x core/modules/locale/src/LocaleEvents.php LocaleEvents::SAVE_TRANSLATION
  5. 8.3.x core/modules/locale/src/LocaleEvents.php LocaleEvents::SAVE_TRANSLATION
  6. 8.4.x core/modules/locale/src/LocaleEvents.php LocaleEvents::SAVE_TRANSLATION
  7. 8.6.x core/modules/locale/src/LocaleEvents.php LocaleEvents::SAVE_TRANSLATION

The name of the event fired when saving a translated string.

This event allows you to perform custom actions whenever a translated string is saved.

See also

\Drupal\locale\EventSubscriber\LocaleTranslationCacheTag

Related topics

File

core/modules/locale/src/LocaleEvents.php, line 22

Class

LocaleEvents
Defines events for locale translation.

Namespace

Drupal\locale

Code

const SAVE_TRANSLATION = 'locale.save_translation';