You are here

public function D7EckDeriver::__construct in Entity Construction Kit (ECK) 8

D7EckDeriver constructor.

Parameters

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

bool $translations: Whether or not to include translations.

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

File

src/Plugin/migrate/D7EckDeriver.php, line 49

Class

D7EckDeriver
Deriver for Drupal 7 ECK.

Namespace

Drupal\eck\Plugin\migrate

Code

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