public function FormEntityBaseForm::__construct in Flexiform 8
FormEntityBaseForm constructor.
Parameters
\Drupal\flexiform\FlexiformFormEntityPluginManager $plugin_manager: The form entity plugin manager.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Symfony\Component\Routing\RouterInterface $router: The router service.
File
- src/
Form/ FormEntityBaseForm.php, line 69
Class
- FormEntityBaseForm
- Provides a base class for entity forms.
Namespace
Drupal\flexiform\FormCode
public function __construct(FlexiformFormEntityPluginManager $plugin_manager, EntityTypeManagerInterface $entity_type_manager, RouterInterface $router) {
$this->pluginManager = $plugin_manager;
$this->entityTypeManager = $entity_type_manager;
$this->router = $router;
}