You are here

public function EntityQueueRepositoryInterface::getAvailableQueuesForEntity in Entityqueue 8

Gets a list of queues which can hold this entity.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: An entity object.

Return value

\Drupal\entityqueue\EntityQueueInterface[] An array of entity queues which can hold this entity.

1 method overrides EntityQueueRepositoryInterface::getAvailableQueuesForEntity()
EntityQueueRepository::getAvailableQueuesForEntity in src/EntityQueueRepository.php
Gets a list of queues which can hold this entity.

File

src/EntityQueueRepositoryInterface.php, line 21

Class

EntityQueueRepositoryInterface
Interface EntityQueueRepositoryInterface.

Namespace

Drupal\entityqueue

Code

public function getAvailableQueuesForEntity(EntityInterface $entity);