function SqlBase::__construct
Same name in this branch
- 10 core/modules/views/src/Plugin/views/pager/SqlBase.php \Drupal\views\Plugin\views\pager\SqlBase::__construct()
Same name in other branches
- 9 core/modules/views/src/Plugin/views/pager/SqlBase.php \Drupal\views\Plugin\views\pager\SqlBase::__construct()
- 9 core/modules/migrate/src/Plugin/migrate/source/SqlBase.php \Drupal\migrate\Plugin\migrate\source\SqlBase::__construct()
- 8.9.x core/modules/views/src/Plugin/views/pager/SqlBase.php \Drupal\views\Plugin\views\pager\SqlBase::__construct()
- 8.9.x core/modules/migrate/src/Plugin/migrate/source/SqlBase.php \Drupal\migrate\Plugin\migrate\source\SqlBase::__construct()
- 11.x core/modules/views/src/Plugin/views/pager/SqlBase.php \Drupal\views\Plugin\views\pager\SqlBase::__construct()
- 11.x core/modules/migrate/src/Plugin/migrate/source/SqlBase.php \Drupal\migrate\Plugin\migrate\source\SqlBase::__construct()
Overrides SourcePluginBase::__construct
1 call to SqlBase::__construct()
- TestSqlBase::__construct in core/
modules/ migrate/ tests/ src/ Kernel/ SqlBaseTest.php - Overrides the constructor so we can create one easily.
3 methods override SqlBase::__construct()
- DrupalSqlBase::__construct in core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ DrupalSqlBase.php - TestSqlBase::__construct in core/
modules/ migrate/ tests/ src/ Unit/ SqlBaseTest.php - Override the constructor so we can create one easily.
- TestSqlBase::__construct in core/
modules/ migrate/ tests/ src/ Kernel/ SqlBaseTest.php - Overrides the constructor so we can create one easily.
File
-
core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SqlBase.php, line 111
Class
- SqlBase
- Sources whose data may be fetched via a database connection.
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.