Skip to content
Snippets Groups Projects
Commit c6dff672 authored by Jennifer Hodgdon's avatar Jennifer Hodgdon
Browse files

Issue #1333400 by Albert Volkman, Chi: Add parameter docs for hook_install_tasks

parent 1bfa3cd2
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -3081,6 +3081,9 @@ function hook_disable() {
* 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
* the installation. Each key represents the name of a function (usually a
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment