LocaleLookup::$cache

The cache backend that should be used. Type: \Drupal\Core\Cache\CacheBackendInterface Overrides CacheCollector::$cache File core/modules/locale/src/LocaleLookup.php, line 43 Class LocaleLookup A cache collector to allow for dynamic building of the locale cache. Namespace Drupal\locale Code protected $cache;

LocaleLookup

A cache collector to allow for dynamic building of the locale cache. Hierarchy class \Drupal\Core\Cache\CacheCollector implements CacheCollectorInterface, DestructableInterfaceclass \Drupal\locale\LocaleLookup File core/modules/locale/src/LocaleLookup.php, line 15 Namespace Drupal\locale Members Name Modifiers Type Description CacheCollector::$cacheCreated protected property Stores the cache creation time. CacheCollector::$cacheInvalidated protected property Fla

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 Events Overview of event dispatch and subscribing 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';

LocaleEvents

Defines events for locale translation. Hierarchy class \Drupal\locale\LocaleEvents See also \Drupal\Core\Config\ConfigCrudEvent File core/modules/locale/src/LocaleEvents.php, line 10 Namespace Drupal\locale Members Name Modifiers Type Description LocaleEvents::SAVE_TRANSLATION constant The name of the event fired when saving a translated string.

LocaleEvent::__construct

public LocaleEvent::__construct(array $lang_codes, array $lids = array()) Constructs a new LocaleEvent. Parameters array $lang_codes: Language codes for updated translations. array $lids: (optional) List of string identifiers that have been updated / created. File core/modules/locale/src/LocaleEvent.php, line 34 Class LocaleEvent Defines a Locale event. Namespace Drupal\locale Code public function __construct(array $lang_codes, array $lids = array()) { $this->langCodes = $lang_co

LocaleEvent::getLids

public LocaleEvent::getLids() Returns the string identifiers. Return value array $lids File core/modules/locale/src/LocaleEvent.php, line 53 Class LocaleEvent Defines a Locale event. Namespace Drupal\locale Code public function getLids() { return $this->lids; }

LocaleEvent::getLangCodes

public LocaleEvent::getLangCodes() Returns the language codes. Return value string[] $langCodes File core/modules/locale/src/LocaleEvent.php, line 44 Class LocaleEvent Defines a Locale event. Namespace Drupal\locale Code public function getLangCodes() { return $this->langCodes; }

LocaleEvent::$original

List of string identifiers that have been updated / created. Type: string[] File core/modules/locale/src/LocaleEvent.php, line 24 Class LocaleEvent Defines a Locale event. Namespace Drupal\locale Code protected $original;

LocaleEvent::$langCodes

The list of Language codes for updated translations. Type: string[] File core/modules/locale/src/LocaleEvent.php, line 17 Class LocaleEvent Defines a Locale event. Namespace Drupal\locale Code protected $langCodes;

LocaleEvent

Defines a Locale event. Hierarchy class \Symfony\Component\EventDispatcher\Eventclass \Drupal\locale\LocaleEvent File core/modules/locale/src/LocaleEvent.php, line 10 Namespace Drupal\locale Members Name Modifiers Type Description Event::$dispatcher private property Event::$name private property Event::$propagationStopped private property Event::getDispatcher Deprecated public function Returns the EventDispatcher that dispatches this Event. Eve