LocaleEvents::SAVE_TRANSLATION

Same name in other branches
  1. 8.9.x core/modules/locale/src/LocaleEvents.php \Drupal\locale\LocaleEvents::SAVE_TRANSLATION
  2. 10 core/modules/locale/src/LocaleEvents.php \Drupal\locale\LocaleEvents::SAVE_TRANSLATION
  3. 11.x core/modules/locale/src/LocaleEvents.php \Drupal\locale\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';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.