You are here

public function DsFieldBase::setConfiguration in Display Suite 8.3

Same name and namespace in other branches
  1. 8.4 src/Plugin/DsField/DsFieldBase.php \Drupal\ds\Plugin\DsField\DsFieldBase::setConfiguration()
  2. 8.2 src/Plugin/DsField/DsFieldBase.php \Drupal\ds\Plugin\DsField\DsFieldBase::setConfiguration()

Sets the configuration for this plugin instance.

Parameters

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

Overrides ConfigurableInterface::setConfiguration

1 method overrides DsFieldBase::setConfiguration()
DynamicCopyField::setConfiguration in src/Plugin/DsField/DynamicCopyField.php
Sets the configuration for this plugin instance.

File

src/Plugin/DsField/DsFieldBase.php, line 74

Class

DsFieldBase
Base class for all the ds plugins.

Namespace

Drupal\ds\Plugin\DsField

Code

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