You are here

public function EntityQueue::getActAsQueue in Entityqueue 8

Returns the behavior of exceeding the maximum number of queue items.

If TRUE, when a maximum size is set and it is exceeded, the queue will be truncated to the maximum size by removing items from the front of the queue. However, if the 'reverse' option is TRUE as well, the items that exceed the maximum size will be removed from the top instead.

Return value

bool

Overrides EntityQueueInterface::getActAsQueue

File

src/Entity/EntityQueue.php, line 139

Class

EntityQueue
Defines the EntityQueue entity class.

Namespace

Drupal\entityqueue\Entity

Code

public function getActAsQueue() {
  return $this->queue_settings['act_as_queue'];
}