Gets the definition of all plugins for this type.
Return value
array
An array of plugin definitions (empty array if no definitions were
found).
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();