public function FormModeManagerPermissions::__construct in Form mode manager 8
Same name and namespace in other branches
- 8.2 src/FormModeManagerPermissions.php \Drupal\form_mode_manager\FormModeManagerPermissions::__construct()
Constructs a new FormModeManagerPermissions instance.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity type manager.
\Drupal\form_mode_manager\FormModeManagerInterface $form_mode_manager: The form mode manager.
File
- src/
FormModeManagerPermissions.php, line 40
Class
- FormModeManagerPermissions
- Provides dynamic permissions of the form_mode_manager module.
Namespace
Drupal\form_mode_managerCode
public function __construct(EntityTypeManagerInterface $entity_manager, FormModeManagerInterface $form_mode_manager) {
$this->entityTypeManager = $entity_manager;
$this->formModeManager = $form_mode_manager;
}