diff options
author | Jennifer Hodgdon <yahgrp@poplarware.com> | 2013-04-04 15:32:01 -0700 |
---|---|---|
committer | Jennifer Hodgdon <yahgrp@poplarware.com> | 2013-04-04 15:32:01 -0700 |
commit | f854613f463affbcde6ae0a3729c32cb2e02df45 (patch) | |
tree | 4522749a324119f732e186e131e1f7b752477703 /modules/system | |
parent | ba644cdc291b828704b7777199f39eb3b3f490f2 (diff) | |
download | brdo-f854613f463affbcde6ae0a3729c32cb2e02df45.tar.gz brdo-f854613f463affbcde6ae0a3729c32cb2e02df45.tar.bz2 |
Issue #1933954 by Alexander Pyle: Fix up documentation for return value of hook_requirements
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/system.api.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 195bc8354..ce4fb5fe8 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -3006,8 +3006,9 @@ function hook_file_url_alter(&$uri) { * status report page. * * @return - * A keyed array of requirements. Each requirement is itself an array with - * the following items: + * An associative array where the keys are arbitrary but must be unique (it + * is suggested to use the module short name as a prefix) and the values are + * themselves associative arrays with the following elements: * - title: The name of the requirement. * - value: The current value (e.g., version, time, level, etc). During * install phase, this should only be used for version numbers, do not set |