You are here

public function SynonymForm::__construct in Synonyms 2.0.x

Same name and namespace in other branches
  1. 8 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\ProviderPluginManager $synonyms_provider_plugin_manager: The synonyms provider plugin_manager.

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

File

src/Form/SynonymForm.php, line 80

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, ProviderPluginManager $synonyms_provider_plugin_manager, ContainerInterface $container) {
  $this->entityTypeManager = $entity_type_manager;
  $this->entityTypeBundleInfo = $entity_type_bundle_info;
  $this->synonymsProviderPluginManager = $synonyms_provider_plugin_manager;
  $this->container = $container;
}