public function ProcessPluginBase::__construct

File

paragraphs/src/Plugin/migrate/process/ProcessPluginBase.php, line 27

Class

ProcessPluginBase
Base class for Paragraphs process plugins.

Namespace

Drupal\paragraphs\Plugin\migrate\process

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeBundleInfoInterface $entity_type_bundle_info) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->entityTypeBundleInfo = $entity_type_bundle_info;
  $this
    ->setConfiguration($configuration);
}