diff --git a/core/lib/Drupal/Core/Config/ConfigEvent.php b/core/lib/Drupal/Core/Config/ConfigEvent.php index c1df902..4d49312 100644 --- a/core/lib/Drupal/Core/Config/ConfigEvent.php +++ b/core/lib/Drupal/Core/Config/ConfigEvent.php @@ -42,7 +42,7 @@ public function getConfig() { } /** - * Get configuration context object. + * Gets configuration context object. * * @return \Drupal\Core\Config\Context\ContextInterface * Configuration context. diff --git a/core/lib/Drupal/Core/Config/ConfigFactory.php b/core/lib/Drupal/Core/Config/ConfigFactory.php index 335d083..0070ed6 100644 --- a/core/lib/Drupal/Core/Config/ConfigFactory.php +++ b/core/lib/Drupal/Core/Config/ConfigFactory.php @@ -93,7 +93,7 @@ public function get($name) { */ public function reset($name = NULL) { if ($name) { - // Reinitialise the configuration object in all contexts. + // Reinitialize the configuration object in all contexts. foreach ($this->getCacheKeys($name) as $cache_key) { $this->cache[$cache_key]->init(); } diff --git a/core/lib/Drupal/Core/Config/Context/ConfigContext.php b/core/lib/Drupal/Core/Config/Context/ConfigContext.php index 9be0f71..d9dcee5 100644 --- a/core/lib/Drupal/Core/Config/Context/ConfigContext.php +++ b/core/lib/Drupal/Core/Config/Context/ConfigContext.php @@ -16,8 +16,8 @@ * Defines the base configuration context object. * * A configuration context object provides a data array that can be used: - * - as a parameter to get customized configuration objects. - * - as a store of config data used to override values. + * - as a parameter to get customized configuration objects. + * - as a store of config data used to override values. */ class ConfigContext implements ContextInterface { diff --git a/core/lib/Drupal/Core/Config/Context/ContextInterface.php b/core/lib/Drupal/Core/Config/Context/ContextInterface.php index 4361bfe..06aff91 100644 --- a/core/lib/Drupal/Core/Config/Context/ContextInterface.php +++ b/core/lib/Drupal/Core/Config/Context/ContextInterface.php @@ -23,7 +23,7 @@ interface ContextInterface { /** - * Initialises a config context for use. + * Initializes a config context for use. * * Creates a unique context identifier, adds data and notifies system about * the new context. diff --git a/core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php b/core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php index 78253d3..8302394 100644 --- a/core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php +++ b/core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php @@ -2,7 +2,7 @@ /** * @file - * Definition of \Drupal\config\Tests\ConfigLocaleOverride. + * Contains \Drupal\config\Tests\ConfigLocaleOverride. */ namespace Drupal\config\Tests; @@ -104,7 +104,7 @@ function testConfigLocaleUserOverride() { )); $config_factory->enterContext($user_config_context->setAccount($account)); - // Should not have to re-initialise config object to get new overrides as + // Should not have to re-initialize config object to get new overrides as // the new context will have a different uuid. $config = config('config_test.system'); $this->assertIdentical($config->get('foo'), 'de bar'); diff --git a/core/modules/locale/lib/Drupal/locale/LocaleConfigSubscriber.php b/core/modules/locale/lib/Drupal/locale/LocaleConfigSubscriber.php index 6b36eb9..00cc088 100644 --- a/core/modules/locale/lib/Drupal/locale/LocaleConfigSubscriber.php +++ b/core/modules/locale/lib/Drupal/locale/LocaleConfigSubscriber.php @@ -1,7 +1,7 @@ langcode . '.' . $name; diff --git a/core/modules/user/lib/Drupal/user/UserConfigContext.php b/core/modules/user/lib/Drupal/user/UserConfigContext.php index cd25f19..8082f61 100644 --- a/core/modules/user/lib/Drupal/user/UserConfigContext.php +++ b/core/modules/user/lib/Drupal/user/UserConfigContext.php @@ -2,7 +2,7 @@ /** * @file - * Contains \Drupal\user\UserConfigContext + * Contains \Drupal\user\UserConfigContext. */ namespace Drupal\user; @@ -35,7 +35,7 @@ public function setUuid() { } /** - * Helper function to create config context for user accounts. + * Creates config context for user accounts. * * @param \Drupal\user\Plugin\Core\Entity\User $account * The account to add to the config context.