You are here

public function GeocoderProvider::getPlugin in Geocoder 8.3

Returns the provider plugin.

Return value

\Drupal\geocoder\ProviderInterface The Geocoder Provider plugin.

Overrides GeocoderProviderInterface::getPlugin

2 calls to GeocoderProvider::getPlugin()
GeocoderProvider::getPluginDefinition in src/Entity/GeocoderProvider.php
Returns the definition of the provider plugin.
GeocoderProvider::isConfigurable in src/Entity/GeocoderProvider.php
Returns whether or not this provider is configurable.

File

src/Entity/GeocoderProvider.php, line 118

Class

GeocoderProvider
Defines the Geocoder provider entity type.

Namespace

Drupal\geocoder\Entity

Code

public function getPlugin() : ProviderInterface {
  return $this
    ->getPluginCollection()
    ->get($this->plugin);
}