This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
drupalcampbristol/web/core/modules/locale/src/LocaleEvents.php
2017-02-13 15:31:17 +00:00

25 lines
484 B
PHP

<?php
namespace Drupal\locale;
/**
* Defines events for locale translation.
*
* @see \Drupal\Core\Config\ConfigCrudEvent
*/
final class LocaleEvents {
/**
* 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.
*
* @Event
*
* @see \Drupal\locale\EventSubscriber\LocaleTranslationCacheTag
*/
const SAVE_TRANSLATION = 'locale.save_translation';
}