function Memory::numberOfItems
Same name in other branches
- 9 core/lib/Drupal/Core/Queue/Memory.php \Drupal\Core\Queue\Memory::numberOfItems()
- 10 core/lib/Drupal/Core/Queue/Memory.php \Drupal\Core\Queue\Memory::numberOfItems()
- 11.x core/lib/Drupal/Core/Queue/Memory.php \Drupal\Core\Queue\Memory::numberOfItems()
Overrides QueueInterface::numberOfItems
File
-
core/
lib/ Drupal/ Core/ Queue/ Memory.php, line 56
Class
- Memory
- Static queue implementation.
Namespace
Drupal\Core\QueueCode
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.