You are here

EntityQueueRepositoryInterface.php in Entityqueue 8

Namespace

Drupal\entityqueue

File

src/EntityQueueRepositoryInterface.php
View source
<?php

namespace Drupal\entityqueue;

use Drupal\Core\Entity\EntityInterface;

/**
 * Interface EntityQueueRepositoryInterface.
 */
interface EntityQueueRepositoryInterface {

  /**
   * Gets a list of queues which can hold this entity.
   *
   * @param \Drupal\Core\Entity\EntityInterface $entity
   *   An entity object.
   *
   * @return \Drupal\entityqueue\EntityQueueInterface[]
   *   An array of entity queues which can hold this entity.
   */
  public function getAvailableQueuesForEntity(EntityInterface $entity);

}

Interfaces

Namesort descending Description
EntityQueueRepositoryInterface Interface EntityQueueRepositoryInterface.