summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebchick2015-02-13 20:06:34 (GMT)
committerwebchick2015-02-13 20:06:34 (GMT)
commit3265bb4700f624ce8f5ec6d95bed852dcbb2cef8 (patch)
treeab428671aaa1fc1e87de5784bcf408c84244d2fc
parent30432a03b74b9e682ef931e07cb951bdea4befa8 (diff)
Issue #2415519 by eojthebrave, nitvirus, jhodgdon: Add @Event documentation to all LanguageConfigOverrideEvents
-rw-r--r--core/modules/language/src/Config/LanguageConfigOverrideEvents.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/core/modules/language/src/Config/LanguageConfigOverrideEvents.php b/core/modules/language/src/Config/LanguageConfigOverrideEvents.php
index 7770f59..f23a023 100644
--- a/core/modules/language/src/Config/LanguageConfigOverrideEvents.php
+++ b/core/modules/language/src/Config/LanguageConfigOverrideEvents.php
@@ -17,16 +17,30 @@ 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';