summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJennifer Hodgdon2013-07-17 14:37:04 (GMT)
committerJennifer Hodgdon2013-07-17 14:37:04 (GMT)
commitacbddd14f2d36bbeb4b16f8d31feb815845462e0 (patch)
tree35cd78cc1a6125f72a88e25bb732f483b4774839
parenta16c164ef64cf8e86a5a11cfbc345522a00d039d (diff)
Issue #2038059 by Elijah Lynn, aaronott: Fix up grammar in boostrap and cache utility docs
-rw-r--r--core/includes/bootstrap.inc4
-rw-r--r--core/lib/Drupal/Core/Cache/CacheCollector.php4
-rw-r--r--core/lib/Drupal/Core/Utility/CacheArray.php4
3 files changed, 6 insertions, 6 deletions
diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc
index f7ab2d7..9daa71a 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 afc6922..21d5487 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 1b8464a..9748753 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;