public function EntityQueueListBuilder::__construct in Entityqueue 8
Constructs a new class instance.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity manager.
Overrides EntityListBuilder::__construct
File
- src/
EntityQueueListBuilder.php, line 38
Class
- EntityQueueListBuilder
- Defines a class that builds a listing of entity queues.
Namespace
Drupal\entityqueueCode
public function __construct(EntityTypeInterface $entity_type, EntityTypeManagerInterface $entity_type_manager) {
parent::__construct($entity_type, $entity_type_manager
->getStorage($entity_type
->id()));
$this->entityTypeManager = $entity_type_manager;
}