constant INSTALL_TASK_SKIP in Drupal 7
Same name and namespace in other branches
- 8 core/includes/install.core.inc \INSTALL_TASK_SKIP
- 9 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 - API functions for installing Drupal.
Code
define('INSTALL_TASK_SKIP', 1);