You are here

public function GeocoderPlugin::setConfiguration in Geocoder 7.2

Set the object's configuration.

Parameters

array $configuration: The configuration array.

Overrides GeocoderPluginInterface::setConfiguration

File

src/Plugin/GeocoderPlugin.php, line 37
Contains \Drupal\geocoder\Plugin\GeocoderPlugin.

Class

GeocoderPlugin

Namespace

Drupal\geocoder\Plugin

Code

public function setConfiguration(array $configuration = array()) {
  if (!empty($configuration)) {
    $this->configuration = $configuration;
  }
  return $this;
}