public function DrupalSqlBase::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate_drupal/src/Plugin/migrate/source/DrupalSqlBase.php \Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase::__construct()
- 9 core/modules/migrate_drupal/src/Plugin/migrate/source/DrupalSqlBase.php \Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase::__construct()
Constructs a \Drupal\Component\Plugin\PluginBase object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
Overrides SqlBase::__construct
2 calls to DrupalSqlBase::__construct()
- Node::__construct in core/
modules/ node/ src/ Plugin/ migrate/ source/ d6/ Node.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
- Variable::__construct in core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ Variable.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
5 methods override DrupalSqlBase::__construct()
- Node::__construct in core/
modules/ node/ src/ Plugin/ migrate/ source/ d6/ Node.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
- Node::__construct in core/
modules/ node/ src/ Plugin/ migrate/ source/ d7/ Node.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
- Variable::__construct in core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ Variable.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
- VariableTranslation::__construct in core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ d6/ VariableTranslation.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
- VariableTranslation::__construct in core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ d7/ VariableTranslation.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
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\sourceCode
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;
}