You are here

public function EntitySubqueueForm::__construct in Entityqueue 8

Constructs a EntitySubqueueForm.

Parameters

\Drupal\Core\Entity\EntityRepositoryInterface $entity_repository: The entity repository service.

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle service.

\Drupal\Component\Datetime\TimeInterface $time: The time service.

\Drupal\Core\Render\ElementInfoManagerInterface $element_info: The element info manager.

Overrides ContentEntityForm::__construct

File

src/Form/EntitySubqueueForm.php, line 61

Class

EntitySubqueueForm
Form controller for the entity subqueue edit forms.

Namespace

Drupal\entityqueue\Form

Code

public function __construct(EntityRepositoryInterface $entity_repository, EntityTypeBundleInfoInterface $entity_type_bundle_info, TimeInterface $time, ElementInfoManagerInterface $element_info) {
  parent::__construct($entity_repository, $entity_type_bundle_info, $time);
  $this->elementInfo = $element_info;
}