You are here

public function FormComponentAddForm::__construct in Flexiform 8

Constructor.

File

src/Form/FormComponentAddForm.php, line 53

Class

FormComponentAddForm
Provides a form for adding new form components.

Namespace

Drupal\flexiform\Form

Code

public function __construct(FormComponentTypePluginManager $plugin_manager, EntityTypeManagerInterface $entity_type_manager, RouterInterface $router) {
  $this->pluginManager = $plugin_manager;
  $this->entityTypeManager = $entity_type_manager;
  $this->router = $router;
}