You are here

public function D7ParagraphsItemDeriver::__construct in Paragraphs 8

D7ParagraphsItemDeriver constructor.

Parameters

string $base_plugin_id: The base plugin ID for the plugin ID.

\Drupal\migrate_drupal\FieldDiscoveryInterface $field_discovery: The migration field discovery service.

File

src/Plugin/migrate/D7ParagraphsItemDeriver.php, line 44

Class

D7ParagraphsItemDeriver
Deriver for Paragraph Items.

Namespace

Drupal\paragraphs\Plugin\migrate

Code

public function __construct($base_plugin_id, FieldDiscoveryInterface $field_discovery) {
  $this->basePluginId = $base_plugin_id;
  $this->fieldDiscovery = $field_discovery;
}