EntityDisplayModeListBuilder::__construct

public EntityDisplayModeListBuilder::__construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, array $entity_types)

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 36

Class

EntityDisplayModeListBuilder
Defines a class to build a listing of view mode entities.

Namespace

Drupal\field_ui

Code

public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, array $entity_types) {
  parent::__construct($entity_type, $storage);

  $this->entityTypes = $entity_types;
}
doc_Drupal
2016-10-29 09:05:50
Comments
Leave a Comment

Please login to continue.