public function LazyPluginCollection::count in Service Container 7
Same name and namespace in other branches
- 7.2 lib/Drupal/Component/Plugin/LazyPluginCollection.php \Drupal\Component\Plugin\LazyPluginCollection::count()
File
- lib/
Drupal/ Component/ Plugin/ LazyPluginCollection.php, line 161 - Contains \Drupal\Component\Plugin\LazyPluginCollection.
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);
}