INSTALL_TASK_RUN_IF_NOT_COMPLETED
Same name in other branches
- 7.x includes/install.core.inc \INSTALL_TASK_RUN_IF_NOT_COMPLETED
- 9 core/includes/install.core.inc \INSTALL_TASK_RUN_IF_NOT_COMPLETED
- 8.9.x core/includes/install.core.inc \INSTALL_TASK_RUN_IF_NOT_COMPLETED
- 10 core/includes/install.core.inc \INSTALL_TASK_RUN_IF_NOT_COMPLETED
Run the task on each installation request until the database is set up.
This is the default method for running tasks and should be used for most tasks that occur after the database is set up; these tasks will then run once and be marked complete once they are successfully finished. For example, the Drupal installer uses this flag for the batch installation of modules on the new site, and also for the configuration form that collects basic site information and sets up the site maintenance account.
3 uses of INSTALL_TASK_RUN_IF_NOT_COMPLETED
- hook_install_tasks in core/
lib/ Drupal/ Core/ Extension/ module.api.php - Return an array of tasks to be performed by an installation profile.
- install_run_tasks in core/
includes/ install.core.inc - Runs all tasks for the current installation request.
- install_tasks in core/
includes/ install.core.inc - Returns a list of all tasks the installer currently knows about.
File
-
core/
includes/ install.core.inc, line 77
Code
const INSTALL_TASK_RUN_IF_NOT_COMPLETED = 3;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.