INSTALL_TASK_SKIP

  1. drupal
    1. 7 includes/install.core.inc
    2. 8 core/includes/install.core.inc

Global flag to indicate that a task should not be run 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.

File

includes/install.core.inc, line 20
API functions for installing Drupal.

Code

define('INSTALL_TASK_SKIP', 1)
Login or register to post comments