constant INSTALL_TASK_SKIP in Drupal 8
Same name and namespace in other branches
- 7 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 core/
lib/ Drupal/ Core/ Extension/ module.api.php - Return an array of tasks to be performed by an installation profile.
- install_tasks in core/
includes/ install.core.inc - Returns a list of all tasks the installer currently knows about.
- install_tasks_to_perform in core/
includes/ install.core.inc - Returns a list of tasks to perform during the current installation request.
File
- core/
includes/ install.core.inc, line 54 - API functions for installing Drupal.
Code
const INSTALL_TASK_SKIP = 1;