Revision db2d93dd
Added by Benjamin Luce over 9 years ago
drupal7/includes/install.core.inc | ||
---|---|---|
362 | 362 |
* Runs an individual installation task. |
363 | 363 |
* |
364 | 364 |
* @param $task |
365 |
* An array of information about the task to be run. |
|
365 |
* An array of information about the task to be run as returned by |
|
366 |
* hook_install_tasks(). |
|
366 | 367 |
* @param $install_state |
367 | 368 |
* An array of information about the current installation state. This is |
368 | 369 |
* passed in by reference so that it can be modified by the task. |
... | ... | |
478 | 479 |
* the page request evolves (for example, if an installation profile hasn't |
479 | 480 |
* been selected yet, we don't yet know which profile tasks need to be run). |
480 | 481 |
* |
482 |
* You can override this using hook_install_tasks() or |
|
483 |
* hook_install_tasks_alter(). |
|
484 |
* |
|
481 | 485 |
* @param $install_state |
482 | 486 |
* An array of information about the current installation state. |
483 | 487 |
* |
484 | 488 |
* @return |
485 |
* A list of tasks to be performed, with associated metadata. |
|
489 |
* A list of tasks to be performed, with associated metadata as returned by |
|
490 |
* hook_install_tasks(). |
|
486 | 491 |
*/ |
487 | 492 |
function install_tasks_to_perform($install_state) { |
488 | 493 |
// Start with a list of all currently available tasks. |
Also available in: Unified diff
Update to 7.37