Gets the definition of all plugins for this type.
array An array of plugin definitions (empty array if no definitions were found).
Overrides DiscoveryInterface::getDefinitions
public function getDefinitions() {
return $this->discovery
->getDefinitions();
}