Commit 3265bb47 authored by webchick's avatar webchick

Issue #2415519 by eojthebrave, nitvirus, jhodgdon: Add @Event documentation to...

Issue #2415519 by eojthebrave, nitvirus, jhodgdon: Add @Event documentation to all LanguageConfigOverrideEvents
parent 30432a03
......@@ -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';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment