You are here

public function MetatagViewsTranslationForm::__construct in Metatag 8

File

metatag_views/src/Form/MetatagViewsTranslationForm.php, line 106

Class

MetatagViewsTranslationForm
Defines a form for translating meta tags for views.

Namespace

Drupal\metatag_views\Form

Code

public function __construct(MetatagManagerInterface $metatag_manager, EntityTypeManagerInterface $entity_type_manager, MetatagToken $token, MetatagTagPluginManager $tagPluginManager, ConfigurableLanguageManagerInterface $language_manager) {
  $this->metatagManager = $metatag_manager;
  $this->viewsManager = $entity_type_manager
    ->getStorage('view');
  $this->tokenService = $token;
  $this->tagPluginManager = $tagPluginManager;
  $this->languageManager = $language_manager;
}