Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
ComponentGenerator.php file composer/Generator/ComponentGenerator.php
ComponentGenerator::$componentBaseDir property composer/Generator/ComponentGenerator.php Full path to the component directory.
ComponentGenerator::$drupalCoreInfo property composer/Generator/ComponentGenerator.php Data from drupal/core's composer.json file.
ComponentGenerator::$drupalProjectInfo property composer/Generator/ComponentGenerator.php Data from drupal/drupal's composer.json file.
ComponentGenerator::$relativeComponentPath property composer/Generator/ComponentGenerator.php Relative path from Drupal root to the component directory.
ComponentGenerator::encode function composer/Generator/ComponentGenerator.php Utility function to encode package json in a consistent way.
ComponentGenerator::generate function composer/Generator/ComponentGenerator.php Reconcile Drupal's components whenever composer.lock is updated.
ComponentGenerator::generateComponentPackage function composer/Generator/ComponentGenerator.php Generate the component JSON files.
ComponentGenerator::getComponentPathsFinder function composer/Generator/ComponentGenerator.php Find all the composer.json files for components.
ComponentGenerator::getPackage function composer/Generator/ComponentGenerator.php Reconcile component dependencies with core.
ComponentGenerator::initialPackageMetadata function composer/Generator/ComponentGenerator.php Common default metadata for all components.
ComponentGenerator::__construct function composer/Generator/ComponentGenerator.php ComponentGenerator constructor.
ComponentsIsolatedBuildTest class core/tests/Drupal/BuildTests/Composer/Component/ComponentsIsolatedBuildTest.php Try to install dependencies per component, using Composer.
ComponentsIsolatedBuildTest.php file core/tests/Drupal/BuildTests/Composer/Component/ComponentsIsolatedBuildTest.php
ComponentsIsolatedBuildTest::addExpectedRepositories function core/tests/Drupal/BuildTests/Composer/Component/ComponentsIsolatedBuildTest.php Adds expected repositories as path repositories to package under test.
ComponentsIsolatedBuildTest::provideComponentPaths function core/tests/Drupal/BuildTests/Composer/Component/ComponentsIsolatedBuildTest.php Provides an array with relative paths to the component paths.
ComponentsIsolatedBuildTest::testComponentComposerJson function core/tests/Drupal/BuildTests/Composer/Component/ComponentsIsolatedBuildTest.php Test whether components' composer.json can be installed in isolation.
ComponentsTaggedReleaseTest class core/tests/Drupal/BuildTests/Composer/Component/ComponentsTaggedReleaseTest.php Demonstrate that the Component generator responds to release tagging.
ComponentsTaggedReleaseTest.php file core/tests/Drupal/BuildTests/Composer/Component/ComponentsTaggedReleaseTest.php
ComponentsTaggedReleaseTest::providerVersionConstraint function core/tests/Drupal/BuildTests/Composer/Component/ComponentsTaggedReleaseTest.php Highly arbitrary version and constraint expectations.
ComponentsTaggedReleaseTest::testReleaseTagging function core/tests/Drupal/BuildTests/Composer/Component/ComponentsTaggedReleaseTest.php Validate release tagging and regeneration of dependencies.
Composer class core/lib/Drupal/Core/Composer/Composer.php Provides static functions for composer script events.
Composer class composer/Composer.php Provides static functions for composer script events.
Composer.php file composer/Composer.php
Composer.php file core/lib/Drupal/Core/Composer/Composer.php
Composer::$packageToCleanup property core/lib/Drupal/Core/Composer/Composer.php
Composer::composerSubprojectPaths function composer/Composer.php Return the list of subprojects of a given type.
Composer::deleteRecursive function core/lib/Drupal/Core/Composer/Composer.php Helper method to remove directories and the files they contain.
Composer::drupalVersionBranch function composer/Composer.php Return the branch name the current Drupal version is associated with.
Composer::ensureComposerVersion function composer/Composer.php Ensure that the minimum required version of Composer is running.
Composer::ensureHtaccess function core/lib/Drupal/Core/Composer/Composer.php Ensures that .htaccess and web.config files are present in Composer root.
Composer::findPackageKey function core/lib/Drupal/Core/Composer/Composer.php Find the array key for a given package name with a case-insensitive search.
Composer::generateComponentPackages function composer/Composer.php Update component packages whenever composer.lock is updated.
Composer::generateMetapackages function composer/Composer.php Update metapackages whenever composer.lock is updated.
Composer::preAutoloadDump function core/lib/Drupal/Core/Composer/Composer.php Add vendor classes to Composer's static classmap.
Composer::removeTimeout function core/lib/Drupal/Core/Composer/Composer.php Removes Composer's timeout so that scripts can run indefinitely.
Composer::setDrupalVersion function composer/Composer.php Set the version of Drupal; used in release process and by the test suite.
Composer::setTemplateProjectStability function composer/Composer.php Set the stability of the template projects to match the Drupal version.
Composer::upgradePHPUnit function core/lib/Drupal/Core/Composer/Composer.php Fires the drupal-phpunit-upgrade script event if necessary.
Composer::upgradePHPUnitCheck function core/lib/Drupal/Core/Composer/Composer.php Determines if PHPUnit needs to be upgraded.
Composer::vendorTestCodeCleanup function core/lib/Drupal/Core/Composer/Composer.php Remove possibly problematic test files from vendored projects.
ComposerBuildTestBase class core/tests/Drupal/BuildTests/Composer/ComposerBuildTestBase.php Base class for Composer build tests.
ComposerBuildTestBase.php file core/tests/Drupal/BuildTests/Composer/ComposerBuildTestBase.php
ComposerBuildTestBase::$componentsPath property core/tests/Drupal/BuildTests/Composer/ComposerBuildTestBase.php Relative path from Drupal root to the Components directory.
ComposerBuildTestBase::assertDrupalVersion function core/tests/Drupal/BuildTests/Composer/ComposerBuildTestBase.php Assert that the VERSION constant in Drupal.php is the expected value.
ComposerBuildTestBase::getComponentPathsFinder function core/tests/Drupal/BuildTests/Composer/ComposerBuildTestBase.php Find all the composer.json files for components.
ComposerDeprecationTest class core/tests/Drupal/Tests/Core/Composer/ComposerDeprecationTest.php Tests the deprecations in the Drupal\Core\Composer\Composer class.
ComposerDeprecationTest.php file core/tests/Drupal/Tests/Core/Composer/ComposerDeprecationTest.php
ComposerDeprecationTest::testEnsureHtaccess function core/tests/Drupal/Tests/Core/Composer/ComposerDeprecationTest.php @covers ::ensureHtaccess[[api-linebreak]]
@group legacy
ComposerDeprecationTest::testRemoveTimeout function core/tests/Drupal/Tests/Core/Composer/ComposerDeprecationTest.php @covers ::removeTimeout[[api-linebreak]]
@group legacy

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