function Fixtures::allFixturesDir

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php \Drupal\Tests\Composer\Plugin\Scaffold\Fixtures::allFixturesDir()
  2. 10 core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php \Drupal\Tests\Composer\Plugin\Scaffold\Fixtures::allFixturesDir()
  3. 11.x core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php \Drupal\Tests\Composer\Plugin\Scaffold\Fixtures::allFixturesDir()

Gets the path to the project fixtures.

Return value

string Path to project fixtures

3 calls to Fixtures::allFixturesDir()
Fixtures::binFixtureDir in core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php
Gets the path to one particular bin path.
Fixtures::cloneFixtureProjects in core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php
Creates a temporary copy of all of the fixtures projects into a temp dir.
Fixtures::projectFixtureDir in core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php
Gets the path to one particular project fixture.

File

core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php, line 105

Class

Fixtures
Convenience class for creating fixtures.

Namespace

Drupal\Tests\Composer\Plugin\Scaffold

Code

public function allFixturesDir() {
    return realpath(__DIR__ . '/fixtures');
}

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