You are here

public function Queue::isLocked in Advanced Queue 8

Gets whether the queue is locked.

Locked queues cannot be deleted.

Return value

bool TRUE if the queue is locked, FALSE otherwise.

Overrides QueueInterface::isLocked

File

src/Entity/Queue.php, line 206

Class

Queue
Defines the queue entity class.

Namespace

Drupal\advancedqueue\Entity

Code

public function isLocked() {
  return (bool) $this->locked;
}