public function EntityQueueUIController::subqueueList in Entityqueue 8
Provides a list of all the subqueues of an entity queue.
Parameters
\Drupal\entityqueue\EntityQueueInterface $entity_queue: The entity queue.
Return value
array A render array.
1 string reference to 'EntityQueueUIController::subqueueList'
File
- src/
Controller/ EntityQueueUIController.php, line 63
Class
- EntityQueueUIController
- Returns responses for Entityqueue UI routes.
Namespace
Drupal\entityqueue\ControllerCode
public function subqueueList(EntityQueueInterface $entity_queue) {
$list_builder = $this
->entityTypeManager()
->getListBuilder('entity_subqueue');
$list_builder
->setQueueId($entity_queue
->id());
return $list_builder
->render();
}