function DrupalBoot::bootstrap_drupal_full

8.0.x DrupalBoot.php DrupalBoot::bootstrap_drupal_full()
7.x DrupalBoot.php DrupalBoot::bootstrap_drupal_full()
master DrupalBoot.php DrupalBoot::bootstrap_drupal_full()

Attempt to load the full Drupal system.

6 calls to DrupalBoot::bootstrap_drupal_full()
DrupalBoot6::bootstrap_drupal_full in lib/Drush/Boot/DrupalBoot6.php
Attempt to load the full Drupal system.
DrupalBoot6::bootstrap_drupal_full in lib/Drush/Boot/DrupalBoot6.php
Attempt to load the full Drupal system.
DrupalBoot7::bootstrap_drupal_full in lib/Drush/Boot/DrupalBoot7.php
Attempt to load the full Drupal system.
DrupalBoot7::bootstrap_drupal_full in lib/Drush/Boot/DrupalBoot7.php
Attempt to load the full Drupal system.
DrupalBoot8::bootstrap_drupal_full in lib/Drush/Boot/DrupalBoot8.php
Attempt to load the full Drupal system.

... See full list

15 methods override DrupalBoot::bootstrap_drupal_full()
DrupalBoot6::bootstrap_drupal_full in lib/Drush/Boot/DrupalBoot6.php
Attempt to load the full Drupal system.
DrupalBoot6::bootstrap_drupal_full in lib/Drush/Boot/DrupalBoot6.php
Attempt to load the full Drupal system.
DrupalBoot6::bootstrap_drupal_full in lib/Drush/Boot/DrupalBoot6.php
Attempt to load the full Drupal system.
DrupalBoot6::bootstrap_drupal_full in lib/Drush/Boot/DrupalBoot6.php
Attempt to load the full Drupal system.
DrupalBoot6::bootstrap_drupal_full in lib/Drush/Boot/DrupalBoot6.php
Attempt to load the full Drupal system.

... See full list

File

lib/Drush/Boot/DrupalBoot.php, line 517

Namespace

Drush\Boot

Class

DrupalBoot

Code

function bootstrap_drupal_full() {
  drush_include_engine('drupal', 'environment');

  $this->add_logger();

  // Write correct install_profile to cache as needed. Used by _drush_find_commandfiles().
  $cid = drush_cid_install_profile();
  $install_profile = $this->get_profile();
  if ($cached_install_profile = drush_cache_get($cid)) {
    // We have a cached profile. Check it for correctness and save new value if needed.
    if ($cached_install_profile->data != $install_profile) {
      drush_cache_set($cid, $install_profile);
    }
  }
  else {
    // No cached entry so write to cache.
    drush_cache_set($cid, $install_profile);
  }

  _drush_log_drupal_messages();
}