/**
  * {@inheritdocs}
  */
 public function initializeContext(Context $context)
 {
     // All contexts are passed here, only DrupalAwareInterface is allowed.
     if (!$context instanceof DrupalAwareInterface) {
         return;
     }
     // Set Drupal driver manager.
     $context->setDrupal($this->drupal);
     // Set event dispatcher.
     $context->setDispatcher($this->dispatcher);
     // Add all parameters to the context.
     $context->setDrupalParameters($this->parameters);
 }