Implements Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinition().
Overrides StaticDiscovery::getDefinition
public function getDefinition($base_plugin_id) {
if (isset($this->registerDefinitions)) {
call_user_func($this->registerDefinitions);
}
$this->definitions += $this->decorated
->getDefinitions();
return parent::getDefinition($base_plugin_id);
}