function BlockContentReusableUpdateTest::setDatabaseDumpFiles
Overrides UpdatePathTestBase::setDatabaseDumpFiles
File
-
core/
modules/ block_content/ tests/ src/ Functional/ Update/ BlockContentReusableUpdateTest.php, line 20
Class
- BlockContentReusableUpdateTest
- Tests 'reusable' field related update functions for the Block Content module.
Namespace
Drupal\Tests\block_content\Functional\UpdateCode
protected function setDatabaseDumpFiles() {
$this->databaseDumpFiles = [
__DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz',
// Override the 'block_content' view with an extra display with overridden
// filters. This extra display should also have a filter added for
// 'reusable' field so that it does not expose non-reusable fields. This
// display also has a filter that only shows blocks that contain 'block2'
// in the 'info' field.
__DIR__ . '/../../../fixtures/update/drupal-8.views_block_content-2976334.php',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.