You are here

constant LocaleEvents::SAVE_TRANSLATION in Drupal 9

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