You are here

public function PatternEditForm::__construct in Pathauto 8

PatternEditForm constructor.

Parameters

\Drupal\pathauto\AliasTypeManager $manager: The alias type manager.

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle info service.

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

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager service.

File

src/Form/PatternEditForm.php, line 75

Class

PatternEditForm
Edit form for pathauto patterns.

Namespace

Drupal\pathauto\Form

Code

public function __construct(AliasTypeManager $manager, EntityTypeBundleInfoInterface $entity_type_bundle_info, EntityTypeManagerInterface $entity_type_manager, LanguageManagerInterface $language_manager) {
  $this->manager = $manager;
  $this->entityTypeBundleInfo = $entity_type_bundle_info;
  $this->entityTypeManager = $entity_type_manager;
  $this->languageManager = $language_manager;
}