You are here

public function LazyPluginCollection::count in Plug 7

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\Plugin

Code

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