public function ParagraphsConversionBase::__construct

Constructs a ParagraphsBehaviorBase object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

File

paragraphs/src/ParagraphsConversionBase.php, line 25

Class

ParagraphsConversionBase
Provides a base class for paragraphs conversions.

Namespace

Drupal\paragraphs

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->configuration += $this
    ->defaultConfiguration();
}