function EntityDisplayModeFormBase::__construct

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

Constructs a EntityDisplayModeFormBase object.

Parameters

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entityTypeBundleInfo: The entity type bundle service.

\Drupal\Core\Entity\EntityDisplayRepository $entityDisplayRepository: The entity display repository.

File

core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php, line 58

Class

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

Namespace

Drupal\field_ui\Form

Code

public function __construct(EntityTypeBundleInfoInterface $entityTypeBundleInfo, EntityDisplayRepositoryInterface $entityDisplayRepository) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.