diff --git a/core/lib/Drupal/Core/Config/Config.php b/core/lib/Drupal/Core/Config/Config.php index 378aa43..79f9bbb 100644 --- a/core/lib/Drupal/Core/Config/Config.php +++ b/core/lib/Drupal/Core/Config/Config.php @@ -71,7 +71,7 @@ class Config { protected $context; /** - * Whether the config object has already been loaded. + * Whether the configuration object has already been loaded. * * @var bool */ @@ -139,6 +139,9 @@ public function getName() { /** * Sets the name of this configuration object. * + * @param string $name + * The name of the configuration object. + * * @return \Drupal\Core\Config\Config * The configuration object. */ @@ -182,7 +185,7 @@ public static function validateName($name) { * Returns whether this configuration object is new. * * @return bool - * TRUE if this config object does not exist in storage. + * TRUE if this configuration object does not exist in storage. */ public function isNew() { if (!$this->isLoaded) { @@ -192,7 +195,7 @@ public function isNew() { } /** - * Gets data from this config object. + * Gets data from this configuration object. * * @param string $key * A string that maps to a key within the configuration data. @@ -436,7 +439,11 @@ public function getStorage() { } /** - * Dispatches a config event. + * Dispatches a configuration event. + * + * @param string $config_event_name + * The configuration event name. + * */ protected function notify($config_event_name) { $this->context->notify($config_event_name, $this); @@ -455,7 +462,7 @@ public function merge(array $data_to_merge) { if (!$this->isLoaded) { $this->load(); } - // Preserve integer keys so that config keys are not changed. + // Preserve integer keys so that configuration keys are not changed. $this->replaceData(NestedArray::mergeDeepArray(array($this->data, $data_to_merge), TRUE)); return $this; }