function MemoryQueue::numberOfItems

Overrides DrupalQueueInterface::numberOfItems

File

modules/system/system.queue.inc, line 332

Class

MemoryQueue
Static queue implementation.

Code

public function numberOfItems() {
    return count($this->queue);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.