Skip to content

Commit

Permalink
Merge pull request #11379 from mydropwizard/crm-21093
Browse files Browse the repository at this point in the history
CRM-21093: Call ->initialize() on the CiviCRM service now that Drupal 8 module has changed
  • Loading branch information
colemanw authored Dec 6, 2017
2 parents bc09c0a + 393f6d1 commit f51dcc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Utils/System/Drupal8.php
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ public function loadBootStrap($params = array(), $loadUser = TRUE, $throwError =
\Drupal\Core\DrupalKernel::createFromRequest($request, $autoloader, 'prod')->prepareLegacyRequest($request);

// Initialize Civicrm
\Drupal::service('civicrm');
\Drupal::service('civicrm')->initialize();

// We need to call the config hook again, since we now know
// all the modules that are listening on it (CRM-8655).
Expand Down

0 comments on commit f51dcc1

Please sign in to comment.