You are here

public function EntityQueue::isReversed in Entityqueue 8

Returns the behavior of adding new items to a queue.

By default, new items are added to the bottom of the queue. If the 'reverse' setting is set to TRUE, the new items will be added to the top of the queue instead.

Return value

bool

Overrides EntityQueueInterface::isReversed

File

src/Entity/EntityQueue.php, line 146

Class

EntityQueue
Defines the EntityQueue entity class.

Namespace

Drupal\entityqueue\Entity

Code

public function isReversed() {
  return isset($this->queue_settings['reverse']) ? $this->queue_settings['reverse'] : FALSE;
}