summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2013-01-04 09:34:54 -0800
committerJennifer Hodgdon <yahgrp@poplarware.com>2013-01-04 09:34:54 -0800
commit661d81b36165af32d0e127207168a2142ec61225 (patch)
treee12b09e43fbd150aaed83654f6c6ecabbaa45644 /modules/system
parent6559ca50468437780968165516598af517c02ef2 (diff)
downloadbrdo-661d81b36165af32d0e127207168a2142ec61225.tar.gz
brdo-661d81b36165af32d0e127207168a2142ec61225.tar.bz2
Issue #1333400 by Albert Volkman, Chi: Add parameter docs for hook_install_tasks
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.api.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php
index 871f25583..4391c27b9 100644
--- a/modules/system/system.api.php
+++ b/modules/system/system.api.php
@@ -3628,6 +3628,9 @@ function hook_registry_files_alter(&$files, $modules) {
* 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
@@ -3686,7 +3689,7 @@ function hook_registry_files_alter(&$files, $modules) {
* @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.