function Memory::numberOfItems
Same name in other branches
- 8.9.x 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 57
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.