public function EventTypeForm::__construct in RNG - Events and Registrations 3.x
Same name and namespace in other branches
- 8.2 src/Form/EventTypeForm.php \Drupal\rng\Form\EventTypeForm::__construct()
- 8 src/Form/EventTypeForm.php \Drupal\rng\Form\EventTypeForm::__construct()
Constructs a EventTypeForm object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity manager.
EntityTypeBundleInfoInterface $bundle_info: The Bundle Info.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler service.
\Drupal\Core\Entity\EntityDisplayRepositoryInterface $entity_display_repository: The entity display repository.
\Drupal\rng\RngConfigurationInterface $rng_configuration: The RNG configuration service.
\Drupal\rng\EventManagerInterface $event_manager: The RNG event manager.
File
- src/
Form/ EventTypeForm.php, line 82
Class
- EventTypeForm
- Form controller for event config entities.
Namespace
Drupal\rng\FormCode
public function __construct(EntityTypeManagerInterface $entity_manager, EntityTypeBundleInfoInterface $bundle_info, ModuleHandlerInterface $module_handler, EntityDisplayRepositoryInterface $entity_display_repository, RngConfigurationInterface $rng_configuration, EventManagerInterface $event_manager) {
$this->entityManager = $entity_manager;
$this->bundleInfo = $bundle_info;
$this->moduleHandler = $module_handler;
$this->entityDisplayRepository = $entity_display_repository;
$this->rngConfiguration = $rng_configuration;
$this->eventManager = $event_manager;
}