function Fixtures::drupalCoreComposerFixture
Same name in other branches
- 9 core/tests/Drupal/Tests/Composer/Generator/Fixtures.php \Drupal\Tests\Composer\Generator\Fixtures::drupalCoreComposerFixture()
- 8.9.x core/tests/Drupal/Tests/Composer/Generator/Fixtures.php \Drupal\Tests\Composer\Generator\Fixtures::drupalCoreComposerFixture()
- 11.x core/tests/Drupal/Tests/Composer/Generator/Fixtures.php \Drupal\Tests\Composer\Generator\Fixtures::drupalCoreComposerFixture()
Generate a suitable DrupalCoreComposer fixture for testing.
Return value
\Drupal\Composer\Generator\Util\DrupalCoreComposer DrupalCoreComposer fixture.
File
-
core/
tests/ Drupal/ Tests/ Composer/ Generator/ Fixtures.php, line 20
Class
- Fixtures
- Convenience class for creating fixtures.
Namespace
Drupal\Tests\Composer\GeneratorCode
public function drupalCoreComposerFixture() {
return new DrupalCoreComposer($this->composerJson(), $this->composerLock());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.