public function GeocoderProvider::getPluginDefinition in Geocoder 8.3
Returns the definition of the provider plugin.
Return value
array The plugin definition, as returned by the discovery object used by the plugin manager.
Overrides GeocoderProviderInterface::getPluginDefinition
File
- src/
Entity/ GeocoderProvider.php, line 134
Class
- GeocoderProvider
- Defines the Geocoder provider entity type.
Namespace
Drupal\geocoder\EntityCode
public function getPluginDefinition() : array {
/* @var \Drupal\Component\Plugin\PluginBase $plugin */
$plugin = $this
->getPlugin();
return $plugin
->getPluginDefinition() ?: [];
}