function MigrateDrupal7TestBase::getFixtureFilePath

Same name in this branch
  1. 9 core/modules/aggregator/tests/src/Kernel/Migrate/d7/MigrateDrupal7TestBase.php \Drupal\Tests\aggregator\Kernel\Migrate\d7\MigrateDrupal7TestBase::getFixtureFilePath()
Same name in other branches
  1. 8.9.x core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase::getFixtureFilePath()
  2. 10 core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase::getFixtureFilePath()
  3. 11.x core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase::getFixtureFilePath()

Gets the path to the fixture file.

1 call to MigrateDrupal7TestBase::getFixtureFilePath()
MigrateDrupal7TestBase::setUp in core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7TestBase.php
1 method overrides MigrateDrupal7TestBase::getFixtureFilePath()
MigrateColorTest::getFixtureFilePath in core/modules/color/tests/src/Kernel/Migrate/d7/MigrateColorTest.php
Gets the path to the fixture file.

File

core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7TestBase.php, line 30

Class

MigrateDrupal7TestBase
Base class for Drupal 7 migration tests.

Namespace

Drupal\Tests\migrate_drupal\Kernel\d7

Code

protected function getFixtureFilePath() {
    return __DIR__ . '/../../../fixtures/drupal7.php';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.