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. 10 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

6 calls to DrupalSqlBase::__construct()
Color::__construct in core/modules/color/src/Plugin/migrate/source/d7/Color.php
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

... See full list

6 methods override DrupalSqlBase::__construct()
Color::__construct in core/modules/color/src/Plugin/migrate/source/d7/Color.php
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

... See full list

File

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

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.