You are here

public function ILTForm::__construct in Opigno Instructor-led Trainings 8

Same name and namespace in other branches
  1. 3.x src/Form/ILTForm.php \Drupal\opigno_ilt\Form\ILTForm::__construct()

Creates a ILTForm object.

Overrides ContentEntityForm::__construct

File

src/Form/ILTForm.php, line 32

Class

ILTForm
Provides a form for creating/editing a opigno_ilt entity.

Namespace

Drupal\opigno_ilt\Form

Code

public function __construct(EntityRepositoryInterface $entity_manager, EntityTypeBundleInfoInterface $entity_type_bundle_info, TimeInterface $time, PluginManagerInterface $plugin_manager) {
  parent::__construct($entity_manager, $entity_type_bundle_info, $time);
  $this->pluginManager = $plugin_manager;
}