public function EntityDisplayModeListBuilder::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/field_ui/src/EntityDisplayModeListBuilder.php \Drupal\field_ui\EntityDisplayModeListBuilder::__construct()
Constructs a new EntityDisplayModeListBuilder object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.
\Drupal\Core\Entity\EntityTypeInterface[] $entity_types: List of all entity types.
Overrides EntityListBuilder::__construct
File
- core/
modules/ field_ui/ src/ EntityDisplayModeListBuilder.php, line 41 - Contains \Drupal\field_ui\EntityDisplayModeListBuilder.
Class
- EntityDisplayModeListBuilder
- Defines a class to build a listing of view mode entities.
Namespace
Drupal\field_uiCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, array $entity_types) {
parent::__construct($entity_type, $storage);
$this->entityTypes = $entity_types;
}