From acbddd14f2d36bbeb4b16f8d31feb815845462e0 Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Wed, 17 Jul 2013 07:37:04 -0700 Subject: [PATCH] Issue #2038059 by Elijah Lynn, aaronott: Fix up grammar in boostrap and cache utility docs --- core/includes/bootstrap.inc | 4 ++-- core/lib/Drupal/Core/Cache/CacheCollector.php | 4 ++-- core/lib/Drupal/Core/Utility/CacheArray.php | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc index f7ab2d7e67a..9daa71a5a5b 100644 --- a/core/includes/bootstrap.inc +++ b/core/includes/bootstrap.inc @@ -713,7 +713,7 @@ function drupal_settings_initialize() { * * This function plays a key role in allowing Drupal's resources (modules * and themes) to be located in different places depending on a site's - * configuration. For example, a module 'foo' may legally be be located + * configuration. For example, a module 'foo' may legally be located * in any of these three places: * * core/modules/foo/foo.module @@ -724,7 +724,7 @@ function drupal_settings_initialize() { * the above, depending on where the module is located. * * @param $type - * The type of the item (i.e. theme, theme_engine, module, profile). + * The type of the item (theme, theme_engine, module, profile). * @param $name * The name of the item for which the filename is requested. * @param $filename diff --git a/core/lib/Drupal/Core/Cache/CacheCollector.php b/core/lib/Drupal/Core/Cache/CacheCollector.php index afc69229b2b..21d54878ff3 100644 --- a/core/lib/Drupal/Core/Cache/CacheCollector.php +++ b/core/lib/Drupal/Core/Cache/CacheCollector.php @@ -176,11 +176,11 @@ abstract class CacheCollector implements CacheCollectorInterface, DestructableIn * Flags an offset value to be written to the persistent cache. * * @param string $key - * The key that was request. + * The key that was requested. * @param bool $persist * (optional) Whether the offset should be persisted or not, defaults to * TRUE. When called with $persist = FALSE the offset will be unflagged so - * that it will not written at the end of the request. + * that it will not be written at the end of the request. */ protected function persist($key, $persist = TRUE) { $this->keysToPersist[$key] = $persist; diff --git a/core/lib/Drupal/Core/Utility/CacheArray.php b/core/lib/Drupal/Core/Utility/CacheArray.php index 1b8464a4388..974875301e4 100644 --- a/core/lib/Drupal/Core/Utility/CacheArray.php +++ b/core/lib/Drupal/Core/Utility/CacheArray.php @@ -165,11 +165,11 @@ abstract class CacheArray implements ArrayAccess { * without necessarily writing back to the persistent cache at the end. * * @param $offset - * The array offset that was request. + * The array offset that was requested. * @param $persist * Optional boolean to specify whether the offset should be persisted or * not, defaults to TRUE. When called with $persist = FALSE the offset will - * be unflagged so that it will not written at the end of the request. + * be unflagged so that it will not be written at the end of the request. */ protected function persist($offset, $persist = TRUE) { $this->keysToPersist[$offset] = $persist;