You are here

public function EntityDisplayModeFormBase::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php \Drupal\field_ui\Form\EntityDisplayModeFormBase::__construct()

Constructs a new EntityDisplayModeFormBase.

Parameters

\Drupal\Core\Entity\Query\QueryFactory $query_factory: The entity query factory.

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.

File

core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php, line 50
Contains \Drupal\field_ui\Form\EntityDisplayModeFormBase.

Class

EntityDisplayModeFormBase
Provides the generic base class for entity display mode forms.

Namespace

Drupal\field_ui\Form

Code

public function __construct(QueryFactory $query_factory, EntityManagerInterface $entity_manager) {
  $this->queryFactory = $query_factory;
  $this->entityManager = $entity_manager;
}