You are here

public function EntityQueueForm::__construct in Entityqueue 8

Constructs a EntityQueueForm.

Parameters

\Drupal\Core\Entity\EntityTypeRepositoryInterface $entity_type_repository: The entity type repository.

\Drupal\Component\Plugin\PluginManagerInterface $entity_queue_handler_manager: The entity queue handler plugin manager.

\Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManagerInterface $selection_manager: The selection plugin manager.

File

src/Form/EntityQueueForm.php, line 71

Class

EntityQueueForm
Base form for entity queue edit forms.

Namespace

Drupal\entityqueue\Form

Code

public function __construct(EntityTypeRepositoryInterface $entity_type_repository, PluginManagerInterface $entity_queue_handler_manager, SelectionPluginManagerInterface $selection_manager) {
  $this->entityTypeRepository = $entity_type_repository;
  $this->entityQueueHandlerManager = $entity_queue_handler_manager;
  $this->selectionManager = $selection_manager;
}