You are here

public function ArrayPluginDefinitionDecorator::count in Plugin 8.2

File

src/PluginDefinition/ArrayPluginDefinitionDecorator.php, line 331

Class

ArrayPluginDefinitionDecorator
Provides a plugin definition based on an array.

Namespace

Drupal\plugin\PluginDefinition

Code

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