function ContextualController::__construct

Same name and namespace in other branches
  1. 11.x core/modules/contextual/src/ContextualController.php \Drupal\contextual\ContextualController::__construct()
  2. 10 core/modules/contextual/src/ContextualController.php \Drupal\contextual\ContextualController::__construct()
  3. 9 core/modules/contextual/src/ContextualController.php \Drupal\contextual\ContextualController::__construct()
  4. 8.9.x core/modules/contextual/src/ContextualController.php \Drupal\contextual\ContextualController::__construct()

File

core/modules/contextual/src/ContextualController.php, line 21

Class

ContextualController
Returns responses for Contextual module routes.

Namespace

Drupal\contextual

Code

public function __construct(protected RendererInterface $renderer, protected ContextualLinksSerializer $serializer) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.