function DrupalSqlBase::__construct

Same name in other branches
  1. 9 core/modules/migrate_drupal/src/Plugin/migrate/source/DrupalSqlBase.php \Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase::__construct()
  2. 8.9.x core/modules/migrate_drupal/src/Plugin/migrate/source/DrupalSqlBase.php \Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase::__construct()
  3. 11.x core/modules/migrate_drupal/src/Plugin/migrate/source/DrupalSqlBase.php \Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase::__construct()

Overrides SqlBase::__construct

5 calls to DrupalSqlBase::__construct()
Node::__construct in core/modules/node/src/Plugin/migrate/source/d6/Node.php
Node::__construct in core/modules/node/src/Plugin/migrate/source/d7/Node.php
Variable::__construct in core/modules/migrate_drupal/src/Plugin/migrate/source/Variable.php
VariableTranslation::__construct in core/modules/migrate_drupal/src/Plugin/migrate/source/d6/VariableTranslation.php
VariableTranslation::__construct in core/modules/migrate_drupal/src/Plugin/migrate/source/d7/VariableTranslation.php
5 methods override DrupalSqlBase::__construct()
Node::__construct in core/modules/node/src/Plugin/migrate/source/d6/Node.php
Node::__construct in core/modules/node/src/Plugin/migrate/source/d7/Node.php
Variable::__construct in core/modules/migrate_drupal/src/Plugin/migrate/source/Variable.php
VariableTranslation::__construct in core/modules/migrate_drupal/src/Plugin/migrate/source/d6/VariableTranslation.php
VariableTranslation::__construct in core/modules/migrate_drupal/src/Plugin/migrate/source/d7/VariableTranslation.php

File

core/modules/migrate_drupal/src/Plugin/migrate/source/DrupalSqlBase.php, line 58

Class

DrupalSqlBase
A base class for source plugins using a Drupal database as a source.

Namespace

Drupal\migrate_drupal\Plugin\migrate\source

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, StateInterface $state, EntityTypeManagerInterface $entity_type_manager) {
    parent::__construct($configuration, $plugin_id, $plugin_definition, $migration, $state);
    $this->entityTypeManager = $entity_type_manager;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.