function 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\FormCode
public function __construct(protected EntityTypeBundleInfoInterface $entityTypeBundleInfo, protected EntityDisplayRepositoryInterface $entityDisplayRepository) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.