class LegacyPreflight (View source)

Prepare to bootstrap Drupal

  • Determine the site to use
  • Set up the DI container
  • Start the bootstrap process

Methods

static 
defineConstants(Environment $environment, $applicationPath)

Define legacy constants.

static 
includeCode($drushBasePath)

Include old code. It is an aspirational goal to remove or refactor all of this into more modular, class-based code.

Details

static defineConstants(Environment $environment, $applicationPath)

Define legacy constants.

Parameters

Environment $environment
$applicationPath

static includeCode($drushBasePath)

Include old code. It is an aspirational goal to remove or refactor all of this into more modular, class-based code.

Parameters

$drushBasePath