You are here

public function AbstractAutomatedCrop::setConfiguration in Automated Crop 8

Sets the configuration for this plugin instance.

Parameters

array $configuration: An associative array containing the plugin's configuration.

Overrides ConfigurablePluginInterface::setConfiguration

File

src/AbstractAutomatedCrop.php, line 322

Class

AbstractAutomatedCrop
Provides a base class for each AutomatedCrop provider plugins.

Namespace

Drupal\automated_crop

Code

public function setConfiguration(array $configuration) {
  $configuration += $this
    ->defaultConfiguration();
  $this->configuration = $configuration;
}