function Fixtures::projectRoot

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

Overrides FixturesBase::projectRoot

File

core/tests/Drupal/Tests/Composer/Plugin/Unpack/Fixtures.php, line 17

Class

Fixtures
Fixture for testing the unpack composer plugin.

Namespace

Drupal\Tests\Composer\Plugin\Unpack

Code

public function projectRoot() : string {
    return realpath(__DIR__) . '/../../../../../../../composer/Plugin/RecipeUnpack';
}

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