You are here

public function TourForm::__construct in Tour UI 8

Constructs a TourForm object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity manager service.

\Drupal\Core\Language\LanguageManagerInterface $languageManager: The Language Manager service.

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

\Drupal\Core\Messenger\MessengerInterface $messenger: The Messenger Service.

File

src/Form/TourForm.php, line 73

Class

TourForm
Form controller for the tour entity edit forms.

Namespace

Drupal\tour_ui\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, LanguageManagerInterface $languageManager, TipPluginManager $tipPluginManager, MessengerInterface $messenger) {
  $this->entityTypeManager = $entity_type_manager;
  $this->languageManager = $languageManager;
  $this->tipPluginManager = $tipPluginManager;
  $this->messenger = $messenger;
}