summaryrefslogtreecommitdiff
path: root/includes/install.core.inc
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2015-04-15 00:53:33 -0700
committerJennifer Hodgdon <yahgrp@poplarware.com>2015-04-15 00:53:33 -0700
commit8f08dc9d13f43651fc8c298253891036c2ea8e8f (patch)
tree0fc322c14097ae492f91219fd77ad4d4d0dae041 /includes/install.core.inc
parentbd6bc619c298f745133c0aca15c583310457a5e9 (diff)
downloadbrdo-8f08dc9d13f43651fc8c298253891036c2ea8e8f.tar.gz
brdo-8f08dc9d13f43651fc8c298253891036c2ea8e8f.tar.bz2
Issue #2392221 by joegraduate, er.pushpinderrana, zealfire, ClientGuy: install_run_task() and install_tasks() don't document the task structure
Diffstat (limited to 'includes/install.core.inc')
-rw-r--r--includes/install.core.inc9
1 files changed, 7 insertions, 2 deletions
diff --git a/includes/install.core.inc b/includes/install.core.inc
index 38ad72485..e5a65865c 100644
--- a/includes/install.core.inc
+++ b/includes/install.core.inc
@@ -362,7 +362,8 @@ function install_run_tasks(&$install_state) {
* Runs an individual installation task.
*
* @param $task
- * An array of information about the task to be run.
+ * An array of information about the task to be run as returned by
+ * hook_install_tasks().
* @param $install_state
* An array of information about the current installation state. This is
* passed in by reference so that it can be modified by the task.
@@ -478,11 +479,15 @@ function install_run_task($task, &$install_state) {
* the page request evolves (for example, if an installation profile hasn't
* been selected yet, we don't yet know which profile tasks need to be run).
*
+ * You can override this using hook_install_tasks() or
+ * hook_install_tasks_alter().
+ *
* @param $install_state
* An array of information about the current installation state.
*
* @return
- * A list of tasks to be performed, with associated metadata.
+ * A list of tasks to be performed, with associated metadata as returned by
+ * hook_install_tasks().
*/
function install_tasks_to_perform($install_state) {
// Start with a list of all currently available tasks.