You are here

public function GeocoderProviderInterface::setPlugin in Geocoder 8.3

Sets the provider plugin.

Parameters

string $plugin: The machine name of the Geocoder provider plugin.

Return value

\Drupal\geocoder\GeocoderProviderInterface The entity, for chaining.

1 method overrides GeocoderProviderInterface::setPlugin()
GeocoderProvider::setPlugin in src/Entity/GeocoderProvider.php
Sets the provider plugin.

File

src/GeocoderProviderInterface.php, line 39

Class

GeocoderProviderInterface
Provides an interface defining the Geocoder provider entity type.

Namespace

Drupal\geocoder

Code

public function setPlugin(string $plugin) : GeocoderProviderInterface;