public function SqlBase::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/migrate/src/Plugin/migrate/source/SqlBase.php \Drupal\migrate\Plugin\migrate\source\SqlBase::__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 SourcePluginBase::__construct
1 call to SqlBase::__construct()
- DrupalSqlBase::__construct in core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ DrupalSqlBase.php - Constructs a Drupal\Component\Plugin\PluginBase object.
2 methods override SqlBase::__construct()
- DrupalSqlBase::__construct in core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ DrupalSqlBase.php - Constructs a Drupal\Component\Plugin\PluginBase object.
- TestSqlBase::__construct in core/
modules/ migrate/ tests/ src/ Unit/ SqlBaseTest.php - Override the constructor so we can create one easily.
File
- core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SqlBase.php, line 49 - Contains \Drupal\migrate\Plugin\migrate\source\SqlBase.
Class
- SqlBase
- Sources whose data may be fetched via DBTNG.
Namespace
Drupal\migrate\Plugin\migrate\sourceCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, StateInterface $state) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $migration);
$this->state = $state;
}