You are here

public function ParagraphsBehaviorBase::setConfiguration in Paragraphs 8

Sets the configuration for this plugin instance.

Parameters

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

Overrides ConfigurableInterface::setConfiguration

File

src/ParagraphsBehaviorBase.php, line 85

Class

ParagraphsBehaviorBase

Namespace

Drupal\paragraphs

Code

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