Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. LazyPluginCollection.php

function LazyPluginCollection::count

File

core/lib/Drupal/Component/Plugin/LazyPluginCollection.php, line 156

Class

LazyPluginCollection
Defines an object which stores multiple plugin instances to lazy load them.

Namespace

Drupal\Component\Plugin

Code

public function count() : int {
    return count($this->instanceIds);
}
RSS feed
Powered by Drupal