You are here

public function PatternSettingTypeBase::setConfiguration in UI Patterns Settings 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/PatternSettingTypeBase.php \Drupal\ui_patterns_settings\Plugin\PatternSettingTypeBase::setConfiguration()

Sets the configuration for this plugin instance.

Parameters

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

Overrides ConfigurableInterface::setConfiguration

File

src/Plugin/PatternSettingTypeBase.php, line 107

Class

PatternSettingTypeBase
Base class for UI Patterns Setting plugins.

Namespace

Drupal\ui_patterns_settings\Plugin

Code

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