1. 8.5.x core/modules/language/src/Config/LanguageConfigOverrideEvents.php
  2. 8.0.x core/modules/language/src/Config/LanguageConfigOverrideEvents.php
  3. 8.1.x core/modules/language/src/Config/LanguageConfigOverrideEvents.php
  4. 8.2.x core/modules/language/src/Config/LanguageConfigOverrideEvents.php
  5. 8.3.x core/modules/language/src/Config/LanguageConfigOverrideEvents.php
  6. 8.4.x core/modules/language/src/Config/LanguageConfigOverrideEvents.php
  7. 8.6.x core/modules/language/src/Config/LanguageConfigOverrideEvents.php

Namespace

Drupal\language\Config

File

core/modules/language/src/Config/LanguageConfigOverrideEvents.php
View source
<?php

namespace Drupal\language\Config;


/**
 * Defines events for language configuration overrides.
 *
 * @see \Drupal\Core\Config\ConfigCrudEvent
 */
final class LanguageConfigOverrideEvents {

  /**
   * The name of the event fired when saving the configuration override.
   *
   * This event allows you to perform custom actions whenever a language config
   * override is saved. The event listener method receives a
   * \Drupal\language\Config\LanguageConfigOverrideCrudEvent instance.
   *
   * @Event
   *
   * @see \Drupal\language\Config\LanguageConfigOverrideCrudEvent
   * @see \Drupal\language\Config\LanguageConfigOverride::save()
   * @see \Drupal\locale\LocaleConfigSubscriber
   */
  const SAVE_OVERRIDE = 'language.save_override';

  /**
   * The name of the event fired when deleting the configuration override.
   *
   * This event allows you to perform custom actions whenever a language config
   * override is deleted. The event listener method receives a
   * \Drupal\language\Config\LanguageConfigOverrideCrudEvent instance.
   *
   * @Event
   *
   * @see \Drupal\language\Config\LanguageConfigOverrideCrudEvent
   * @see \Drupal\language\Config\LanguageConfigOverride::delete()
   * @see \Drupal\locale\LocaleConfigSubscriber
   */
  const DELETE_OVERRIDE = 'language.delete_override';

}

Classes

Namesort descending Description
LanguageConfigOverrideEvents Defines events for language configuration overrides.