Issue #2038059 by Elijah Lynn, aaronott: Fix up grammar in boostrap and cache utility docs
parent
a16c164ef6
commit
acbddd14f2
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue