You are here

public function FormModeManagerLinksForm::__construct in Form mode manager 8.2

Same name and namespace in other branches
  1. 8 src/Form/FormModeManagerLinksForm.php \Drupal\form_mode_manager\Form\FormModeManagerLinksForm::__construct()

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

src/Form/FormModeManagerLinksForm.php, line 20

Class

FormModeManagerLinksForm
Configure Form Mode Manager links.

Namespace

Drupal\form_mode_manager\Form

Code

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;
}