function i18nVariableTest::testSource
@dataProvider providerSource @requires extension pdo_sqlite @expectedDeprecation The Drupal\migrate_drupal\Plugin\migrate\source\d6\i18nVariable is deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Instead, use Drupal\migrate_drupal\Plugin\migrate\source\d6\VariableTranslation
Parameters
array $source_data: The source data that the plugin will read. See getDatabase() for the expected format.
array $expected_data: The result rows the plugin is expected to return.
int $expected_count: (optional) How many rows the source plugin is expected to return.
array $configuration: (optional) Configuration for the source plugin.
mixed $high_water: (optional) The value of the high water field.
Overrides MigrateSqlSourceTestBase::testSource
File
-
core/
modules/ migrate_drupal/ tests/ src/ Kernel/ Plugin/ migrate/ source/ d6/ i18nVariableTest.php, line 29
Class
- i18nVariableTest
- Tests the variable source plugin.
Namespace
Drupal\Tests\migrate_drupal\Kernel\Plugin\migrate\source\d6Code
public function testSource(array $source_data, array $expected_data, $expected_count = NULL, array $configuration = [], $high_water = NULL) {
parent::testSource($source_data, $expected_data, $expected_count, $configuration, $high_water);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.