public function LazyPluginCollection::count in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/Plugin/LazyPluginCollection.php \Drupal\Component\Plugin\LazyPluginCollection::count()
- 9 core/lib/Drupal/Component/Plugin/LazyPluginCollection.php \Drupal\Component\Plugin\LazyPluginCollection::count()
File
- core/
lib/ Drupal/ Component/ Plugin/ LazyPluginCollection.php, line 158
Class
- LazyPluginCollection
- Defines an object which stores multiple plugin instances to lazy load them.
Namespace
Drupal\Component\PluginCode
public function count() {
return count($this->instanceIds);
}