diff --git a/core/modules/system/system.api.php b/core/modules/system/system.api.php index ed2a8bf..b32696d 100644 --- a/core/modules/system/system.api.php +++ b/core/modules/system/system.api.php @@ -3083,6 +3083,10 @@ 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 $install_state + * An array of information about the current installation state. This is + * passed along to each task, so it can be modified if necessary. * * @return * A keyed array of tasks the profile will perform during the final stage of @@ -3141,7 +3145,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.