INSTALL_TASK_SKIP
Same name in other branches
- 9 core/includes/install.core.inc \INSTALL_TASK_SKIP
- 8.9.x core/includes/install.core.inc \INSTALL_TASK_SKIP
- 10 core/includes/install.core.inc \INSTALL_TASK_SKIP
- 11.x core/includes/install.core.inc \INSTALL_TASK_SKIP
Do not run the task during the current installation request.
This can be used to skip running an installation task when certain conditions are met, even though the task may still show on the list of installation tasks presented to the user. For example, the Drupal installer uses this flag to skip over the database configuration form when valid database connection information is already available from settings.php. It also uses this flag to skip language import tasks when the installation is being performed in English.
3 uses of INSTALL_TASK_SKIP
- hook_install_tasks in modules/
system/ system.api.php - Return an array of tasks to be performed by an installation profile.
- install_tasks in includes/
install.core.inc - Returns a list of all tasks the installer currently knows about.
- install_tasks_to_perform in includes/
install.core.inc - Returns a list of tasks to perform during the current installation request.
File
-
includes/
install.core.inc, line 19
Code
define('INSTALL_TASK_SKIP', 1);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.