public EntityDisplayModeFormBase::__construct(QueryFactory $query_factory, EntityManagerInterface $entity_manager)
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 45
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; }
Please login to continue.