summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2011-05-08 15:51:01 -0400
committerDries Buytaert <dries@buytaert.net>2011-05-08 15:51:01 -0400
commita22d7770d49716224b3c0ff43bf210b202d797dd (patch)
treeb6debc41483c58c646a83eeec85db26bccd89ad8 /modules
parentc09288a94eb89cf1015a6b6b8b218a14d9b686f7 (diff)
downloadbrdo-a22d7770d49716224b3c0ff43bf210b202d797dd.tar.gz
brdo-a22d7770d49716224b3c0ff43bf210b202d797dd.tar.bz2
- Patch #1024684 by linclark: omit & in @param statements (for consistency).
Diffstat (limited to 'modules')
-rw-r--r--modules/field/field.api.php4
-rw-r--r--modules/file/file.api.php2
-rw-r--r--modules/menu/menu.test2
-rw-r--r--modules/node/node.api.php4
-rw-r--r--modules/system/system.api.php14
-rw-r--r--modules/update/update.authorize.inc2
-rw-r--r--modules/update/update.manager.inc2
-rw-r--r--modules/user/user.api.php10
8 files changed, 20 insertions, 20 deletions
diff --git a/modules/field/field.api.php b/modules/field/field.api.php
index e21c28106..9c52d24ef 100644
--- a/modules/field/field.api.php
+++ b/modules/field/field.api.php
@@ -1318,7 +1318,7 @@ function hook_field_attach_view_alter(&$output, $context) {
*
* This hook is invoked after the field module has performed the operation.
*
- * @param &$entity
+ * @param $entity
* The entity being prepared for translation.
* @param $context
* An associative array containing:
@@ -1361,7 +1361,7 @@ function hook_field_language_alter(&$display_language, $context) {
* This hook is invoked from field_available_languages() to allow modules to
* alter the array of available languages for the given field.
*
- * @param &$languages
+ * @param $languages
* A reference to an array of language codes to be made available.
* @param $context
* An associative array containing:
diff --git a/modules/file/file.api.php b/modules/file/file.api.php
index 70410df00..76fb98610 100644
--- a/modules/file/file.api.php
+++ b/modules/file/file.api.php
@@ -41,7 +41,7 @@ function hook_file_download_access($field, $entity_type, $entity) {
*
* @see hook_file_download_access().
*
- * @param &$grants
+ * @param $grants
* An array of grants gathered by hook_file_download_access(). The array is
* keyed by the module that defines the entity type's access control; the
* values are Boolean grant responses for each module.
diff --git a/modules/menu/menu.test b/modules/menu/menu.test
index 6c11da6ef..510e20c11 100644
--- a/modules/menu/menu.test
+++ b/modules/menu/menu.test
@@ -379,7 +379,7 @@ class MenuTestCase extends DrupalWebTestCase {
/**
* Modify a menu link using the menu module UI.
*
- * @param array &$item Menu link passed by reference.
+ * @param array $item Menu link passed by reference.
*/
function modifyMenuLink(&$item) {
$item['link_title'] = $this->randomName(16);
diff --git a/modules/node/node.api.php b/modules/node/node.api.php
index 7353117fb..906dda1fd 100644
--- a/modules/node/node.api.php
+++ b/modules/node/node.api.php
@@ -314,7 +314,7 @@ function hook_node_access_records($node) {
* @see hook_node_grants()
* @see hook_node_grants_alter()
*
- * @param &$grants
+ * @param $grants
* The $grants array returned by hook_node_access_records().
* @param $node
* The node for which the grants were acquired.
@@ -359,7 +359,7 @@ function hook_node_access_records_alter(&$grants, $node) {
* @see hook_node_access_records()
* @see hook_node_access_records_alter()
*
- * @param &$grants
+ * @param $grants
* The $grants array returned by hook_node_grants().
* @param $account
* The user account requesting access to content.
diff --git a/modules/system/system.api.php b/modules/system/system.api.php
index 21c9de56c..813d5affd 100644
--- a/modules/system/system.api.php
+++ b/modules/system/system.api.php
@@ -651,7 +651,7 @@ function hook_element_info() {
* A module may implement this hook in order to alter the element type defaults
* defined by a module.
*
- * @param &$type
+ * @param $type
* All element type defaults as collected by hook_element_info().
*
* @see hook_element_info()
@@ -1840,7 +1840,7 @@ function hook_mail_alter(&$message) {
* hook in order to reorder the implementing modules, which are otherwise
* ordered by the module's system weight.
*
- * @param &$implementations
+ * @param $implementations
* An array keyed by the module's name. The value of each item corresponds
* to a $group, which is usually FALSE, unless the implementation is in a
* file named $module.$group.inc.
@@ -1867,7 +1867,7 @@ function hook_module_implements_alter(&$implementations, $hook) {
* add to or alter the data generated by reading the .info file with
* drupal_parse_info_file().
*
- * @param &$info
+ * @param $info
* The .info file contents, passed by reference so that it can be altered.
* @param $file
* Full information about the module or theme, including $file->name, and
@@ -3517,11 +3517,11 @@ function hook_install_tasks() {
/**
* Change the page the user is sent to by drupal_goto().
*
- * @param &$path
+ * @param $path
* A Drupal path or a full URL.
- * @param &$options
+ * @param $options
* An associative array of additional URL options to pass to url().
- * @param &$http_response_code
+ * @param $http_response_code
* The HTTP status code to use for the redirection. See drupal_goto() for more
* information.
*/
@@ -3990,7 +3990,7 @@ function hook_url_outbound_alter(&$path, &$options, $original_path) {
* displayed. Can be used to ensure user privacy in situations where
* $account->name is too revealing.
*
- * @param &$name
+ * @param $name
* The string that format_username() will return.
*
* @param $account
diff --git a/modules/update/update.authorize.inc b/modules/update/update.authorize.inc
index f4be44ec9..c9b76dd30 100644
--- a/modules/update/update.authorize.inc
+++ b/modules/update/update.authorize.inc
@@ -101,7 +101,7 @@ function update_authorize_run_install($filetransfer, $project, $updater_name, $l
* already been downloaded and extracted into.
* @param FileTransfer $filetransfer
* The FileTransfer object to use for performing this operation.
- * @param array &$context
+ * @param array $context
* Reference to an array used for BatchAPI storage.
*/
function update_authorize_batch_copy_project($project, $updater_name, $local_url, $filetransfer, &$context) {
diff --git a/modules/update/update.manager.inc b/modules/update/update.manager.inc
index b0def17f7..ad8aefdd8 100644
--- a/modules/update/update.manager.inc
+++ b/modules/update/update.manager.inc
@@ -855,7 +855,7 @@ function update_manager_file_get($url) {
* The short name of the project to download.
* @param string $url
* The URL to download a specific project release archive file.
- * @param array &$context
+ * @param array $context
* Reference to an array used for BatchAPI storage.
*
* @see update_manager_download_page()
diff --git a/modules/user/user.api.php b/modules/user/user.api.php
index 272731a4e..b674b12d4 100644
--- a/modules/user/user.api.php
+++ b/modules/user/user.api.php
@@ -126,7 +126,7 @@ function hook_user_cancel($edit, $account, $method) {
* a method. If #access is defined, the method cannot be configured as default
* method.
*
- * @param &$methods
+ * @param $methods
* An array containing user account cancellation methods, keyed by method id.
*
* @see user_cancel_methods()
@@ -213,7 +213,7 @@ function hook_user_categories() {
* user account object is loaded, modules may add to $edit['data'] in order
* to have their data serialized on save.
*
- * @param &$edit
+ * @param $edit
* The array of form values submitted by the user.
* @param $account
* The user object on which the operation is performed.
@@ -236,7 +236,7 @@ function hook_user_presave(&$edit, $account, $category) {
* The module should save its custom additions to the user object into the
* database.
*
- * @param &$edit
+ * @param $edit
* The array of form values submitted by the user.
* @param $account
* The user object on which the operation is being performed.
@@ -261,7 +261,7 @@ function hook_user_insert(&$edit, $account, $category) {
* Modules may use this hook to update their user data in a custom storage
* after a user account has been updated.
*
- * @param &$edit
+ * @param $edit
* The array of form values submitted by the user.
* @param $account
* The user object on which the operation is performed.
@@ -283,7 +283,7 @@ function hook_user_update(&$edit, $account, $category) {
/**
* The user just logged in.
*
- * @param &$edit
+ * @param $edit
* The array of form values submitted by the user.
* @param $account
* The user object on which the operation was just performed.