You are here

public function TourTipController::__construct in Tour UI 8

Constructs a new TourTipController object.

Parameters

\Drupal\tour\TipPluginManager $tipPluginManager: The Tip Plugin Manager.

\Drupal\Core\Form\FormBuilderInterface $form_builder: The form builder.

\Symfony\Component\HttpFoundation\RequestStack $requestStack: The request stack service.

File

src/Controller/TourTipController.php, line 53

Class

TourTipController
Handles page returns for tour tip.

Namespace

Drupal\tour_ui\Controller

Code

public function __construct(TipPluginManager $tipPluginManager, FormBuilderInterface $form_builder, RequestStack $requestStack) {
  $this->tipPluginManager = $tipPluginManager;
  $this->formBuilder = $form_builder;
  $this->requestStack = $requestStack;
}