summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJennifer Hodgdon2013-01-04 17:34:14 (GMT)
committerJennifer Hodgdon2013-01-04 17:34:14 (GMT)
commitc6dff672c54550e4589c1d250cb432df5c234d23 (patch)
tree4a45141de722d81aec9d1fa5c4dfae25a2f892ae
parent1bfa3cd20e4e6bef3e08132e7fd0e435c203476b (diff)
Issue #1333400 by Albert Volkman, Chi: Add parameter docs for hook_install_tasks
-rw-r--r--core/modules/system/system.api.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/modules/system/system.api.php b/core/modules/system/system.api.php
index 07a5638..1792296 100644
--- a/core/modules/system/system.api.php
+++ b/core/modules/system/system.api.php
@@ -3080,6 +3080,9 @@ function hook_disable() {
* inspect later. It is important to remove any temporary variables using
* variable_del() before your last task has completed and control is handed
* back to the installer.
+ *
+ * @param array $install_state
+ * An array of information about the current installation state.
*
* @return
* A keyed array of tasks the profile will perform during the final stage of
@@ -3138,7 +3141,7 @@ function hook_disable() {
* @see install_state_defaults()
* @see batch_set()
*/
-function hook_install_tasks() {
+function hook_install_tasks(&$install_state) {
// Here, we define a variable to allow tasks to indicate that a particular,
// processor-intensive batch process needs to be triggered later on in the
// installation.