public function DiscoveryInterface::getDefinitions

Gets the definition of all plugins for this type.

Return value

array An array of plugin definitions (empty array if no definitions were found).

10 methods override DiscoveryInterface::getDefinitions()
AlterDecorator::getDefinitions in drupal/core/lib/Drupal/Core/Plugin/Discovery/AlterDecorator.php
Implements Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions().
AnnotatedClassDiscovery::getDefinitions in drupal/core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php
Implements Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions().
CacheDecorator::getDefinitions in drupal/core/lib/Drupal/Core/Plugin/Discovery/CacheDecorator.php
Implements Drupal\Component\Plugin\Discovery\DicoveryInterface::getDefinitions().
DerivativeDiscoveryDecorator::getDefinitions in drupal/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php
Implements Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions().
HookDiscovery::getDefinitions in drupal/core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php
Implements Drupal\Component\Plugin\Discovery\DicoveryInterface::getDefinitions().

... See full list

File

drupal/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryInterface.php, line 34
Definition of Drupal\Component\Plugin\Discovery\DiscoveryInterface.

Class

DiscoveryInterface
An interface defining the minimum requirements of building a plugin discovery component.

Namespace

Drupal\Component\Plugin\Discovery

Code

public function getDefinitions();