public function FormModeManagerRolesForm::__construct in Form mode manager 8.2
Constructs a CropWidgetForm object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Entity\EntityDisplayRepositoryInterface $entity_display_repository: The entity display repository.
\Drupal\form_mode_manager\FormModeManagerInterface $form_mode_manager: The form_mode_manager service.
\Drupal\Core\Cache\CacheTagsInvalidatorInterface $cache_tags_invalidator: The cache tags invalidator.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager service.
Overrides FormModeManagerFormBase::__construct
File
- modules/
form_mode_user_roles_assign/ src/ Form/ FormModeManagerRolesForm.php, line 22
Class
- FormModeManagerRolesForm
- Configure Form for Form Mode Manager Role Assign settings.
Namespace
Drupal\form_mode_user_roles_assign\FormCode
public function __construct(ConfigFactoryInterface $config_factory, EntityDisplayRepositoryInterface $entity_display_repository, FormModeManagerInterface $form_mode_manager, CacheTagsInvalidatorInterface $cache_tags_invalidator, EntityTypeManagerInterface $entity_type_manager) {
parent::__construct($config_factory, $entity_display_repository, $form_mode_manager, $cache_tags_invalidator, $entity_type_manager);
$this->ignoreExcluded = FALSE;
$this->ignoreActiveDisplay = FALSE;
}