From 661d81b36165af32d0e127207168a2142ec61225 Mon Sep 17 00:00:00 2001
From: Jennifer Hodgdon <yahgrp@poplarware.com>
Date: Fri, 4 Jan 2013 09:34:54 -0800
Subject: [PATCH] Issue #1333400 by Albert Volkman, Chi: Add parameter docs for
 hook_install_tasks

---
 modules/system/system.api.php | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/modules/system/system.api.php b/modules/system/system.api.php
index 871f25583243..4391c27b9279 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.
-- 
GitLab