VariableTest::$databaseContents
Type: databaseContents
Overrides MigrateSqlSourceTestCase::$databaseContents
File
-
core/
modules/ migrate_drupal/ tests/ src/ Unit/ source/ VariableTest.php, line 36
Class
- VariableTest
- Tests the variable source plugin.
Namespace
Drupal\Tests\migrate_drupal\Unit\sourceCode
protected $databaseContents = [
'variable' => [
[
'name' => 'foo',
'value' => 'i:1;',
],
[
'name' => 'bar',
'value' => 'b:0;',
],
],
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.