Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
Composer::preAutoloadDump function core/lib/Drupal/Core/Composer/Composer.php Add vendor classes to Composer's static classmap.
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.
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.
ComposerHookTest class core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php Tests Composer Hooks that run scaffold operations.
ComposerHookTest.php file core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php
ComposerHookTest::$fileSystem property core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php The Symfony FileSystem component.
ComposerHookTest::$fixtures property core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php The Fixtures object.
ComposerHookTest::$fixturesDir property core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php Directory to perform the tests in.
ComposerHookTest::setUp function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php
ComposerHookTest::tearDown function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php
ComposerHookTest::testComposerHooks function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php Tests to see if scaffold operation runs at the correct times.
ComposerHookTest::testScaffoldEvents function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php Tests to see if scaffold events are dispatched and picked up by the plugin.
ComposerHookTest::testScaffoldMessagesDoNotPrintTwice function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php Tests to see if scaffold messages are omitted when running scaffold twice.
ComposerInspector class core/modules/package_manager/src/ComposerInspector.php Defines a class to get information from Composer.
ComposerInspector.php file core/modules/package_manager/src/ComposerInspector.php
ComposerInspector::$packageLists property core/modules/package_manager/src/ComposerInspector.php Statically cached installed package lists, keyed by directory.
ComposerInspector::$processCallback property core/modules/package_manager/src/ComposerInspector.php The process output callback.
ComposerInspector::getAllowPluginsConfig function core/modules/package_manager/src/ComposerInspector.php Returns the value of `allow-plugins` config setting.
ComposerInspector::getConfig function core/modules/package_manager/src/ComposerInspector.php Returns a config value from Composer.
ComposerInspector::getInstalledPackagesList function core/modules/package_manager/src/ComposerInspector.php Returns the installed packages list.
ComposerInspector::getPackageTypes function core/modules/package_manager/src/ComposerInspector.php Loads package types from the lock file.
ComposerInspector::getRootPackageInfo function core/modules/package_manager/src/ComposerInspector.php Returns the output of `composer show --self` in a directory.
ComposerInspector::getVersion function core/modules/package_manager/src/ComposerInspector.php Returns the current Composer version.
ComposerInspector::invalidateCacheIfNeeded function core/modules/package_manager/src/ComposerInspector.php Invalidates cached data if composer.json or composer.lock have changed.
ComposerInspector::setLogger function core/modules/package_manager/src/ComposerInspector.php
ComposerInspector::show function core/modules/package_manager/src/ComposerInspector.php Gets the installed packages data from running `composer show`.
ComposerInspector::SUPPORTED_VERSION constant core/modules/package_manager/src/ComposerInspector.php A semantic version constraint for the supported version(s) of Composer.
ComposerInspector::validate function core/modules/package_manager/src/ComposerInspector.php Checks that Composer commands can be run.
ComposerInspector::validateExecutable function core/modules/package_manager/src/ComposerInspector.php Validates that the Composer executable exists in a supported version.
ComposerInspector::validateProject function core/modules/package_manager/src/ComposerInspector.php Checks that `composer.json` is valid and `composer.lock` exists.
ComposerInspector::__construct function core/modules/package_manager/src/ComposerInspector.php
ComposerInspectorTest class core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php Tests Drupal\package_manager\ComposerInspector.
ComposerInspectorTest.php file core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php
ComposerInspectorTest::mockComposerRunner function core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php Mocks the Composer runner service to return a particular version string.
ComposerInspectorTest::providerAllowedPlugins function core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php Data provider for ::testAllowedPlugins().
ComposerInspectorTest::testAllowedPlugins function core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php Tests ComposerInspector's parsing of the allowed plugins list.
ComposerInspectorTest::testComposerFilesDoNotExist function core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php Tests what happens when composer.json or composer.lock are missing.
ComposerInspectorTest::testComposerUnavailable function core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php Tests composer unavailable.
ComposerInspectorTest::testComposerValidateIsCalled function core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php Tests composer validate is called.
ComposerInspectorTest::testConfig function core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php Tests config.
ComposerInspectorTest::testConfigUndefinedKey function core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php Tests config undefined key.
ComposerInspectorTest::testGetInstalledPackagesList function core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php Tests get installed packages list.
ComposerInspectorTest::testGetVersion function core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php Tests get version.

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