diff --git a/core/lib/Drupal/Core/Config/ConfigCrudEvent.php b/core/lib/Drupal/Core/Config/ConfigCrudEvent.php index cad44df..112d7e0 100644 --- a/core/lib/Drupal/Core/Config/ConfigCrudEvent.php +++ b/core/lib/Drupal/Core/Config/ConfigCrudEvent.php @@ -12,7 +12,7 @@ /** * Wraps a configuration event for event listeners. */ -class ConfigCrudEvent extends Event implements ConfigEventInterface { +class ConfigCrudEvent extends Event { /** * Configuration object. @@ -32,14 +32,22 @@ public function __construct(Config $config) { } /** - * {@inheritdoc} + * Gets configuration object. + * + * @return \Drupal\Core\Config\Config + * The configuration object that caused the event to fire. */ public function getConfig() { return $this->config; } /** - * {@inheritdoc} + * Checks to see if the provided configuration key's value has changed. + * + * @param string $key + * The configuration key to check if it has changed. + * + * @return bool */ public function changed($key) { return $this->config->get($key) !== $this->config->getOriginal($key); diff --git a/core/lib/Drupal/Core/Config/ConfigEventInterface.php b/core/lib/Drupal/Core/Config/ConfigEventInterface.php deleted file mode 100644 index 094df91..0000000 --- a/core/lib/Drupal/Core/Config/ConfigEventInterface.php +++ /dev/null @@ -1,32 +0,0 @@ -