You are here

public function SynonymForm::__construct in Synonyms 8

Same name and namespace in other branches
  1. 2.0.x src/Form/SynonymForm.php \Drupal\synonyms\Form\SynonymForm::__construct()

SynonymForm constructor.

Parameters

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

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

\Drupal\synonyms\SynonymsProviderPluginManager $synonyms_provider_plugin_manager: The synonyms provider plugin_manager.

\Drupal\synonyms\SynonymsService\BehaviorService $behavior_services: The behavior services.

\Symfony\Component\DependencyInjection\ContainerInterface $container: The container.

File

src/Form/SynonymForm.php, line 99

Class

SynonymForm
Entity form for 'synonym' config entity type.

Namespace

Drupal\synonyms\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityTypeBundleInfoInterface $entity_type_bundle_info, SynonymsProviderPluginManager $synonyms_provider_plugin_manager, BehaviorService $behavior_services, ContainerInterface $container) {
  $this->entityTypeManager = $entity_type_manager;
  $this->entityTypeBundleInfo = $entity_type_bundle_info;
  $this->synonymsProviderPluginManager = $synonyms_provider_plugin_manager;
  $this->behaviorServices = $behavior_services;
  $this->container = $container;
}