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. Other projects
Title Object type File name Summary
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.
ComposerInspectorTest::testMetapackagePath function core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php Tests that the installed path of metapackages is always NULL.
ComposerInspectorTest::testPackageDevSnapshotCommitHashIsRemoved function core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php Tests that the commit hash of a dev snapshot package is ignored.
ComposerInspectorTest::testRootPackageInfo function core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php Tests root package info.
ComposerInspectorTest::testVersionCheck function core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php Tests version check.
ComposerInstallersTrait trait core/modules/package_manager/tests/src/Traits/ComposerInstallersTrait.php A utility for kernel tests that need to use 'composer/installers'.
ComposerInstallersTrait.php file core/modules/package_manager/tests/src/Traits/ComposerInstallersTrait.php
ComposerInstallersTrait::installComposerInstallers function core/modules/package_manager/tests/src/Traits/ComposerInstallersTrait.php Installs the composer/installers package.
ComposerInstallersTrait::setInstallerPaths function core/modules/package_manager/tests/src/Traits/ComposerInstallersTrait.php Sets the installer paths config.
ComposerIntegrationTest class core/tests/Drupal/Tests/ComposerIntegrationTest.php Tests Composer integration.
ComposerIntegrationTest.php file core/tests/Drupal/Tests/ComposerIntegrationTest.php
ComposerIntegrationTest::getContentHash function core/tests/Drupal/Tests/ComposerIntegrationTest.php Returns the md5 hash of the sorted content of the composer file.
ComposerIntegrationTest::providerTestComposerJson function core/tests/Drupal/Tests/ComposerIntegrationTest.php Data provider for all the composer.json provided by Drupal core.
ComposerIntegrationTest::providerTestExpectedScaffoldFiles function core/tests/Drupal/Tests/ComposerIntegrationTest.php Data provider for the scaffold files test for Drupal core.
ComposerIntegrationTest::testAllCoreComponentsReplaced function core/tests/Drupal/Tests/ComposerIntegrationTest.php Tests core's composer.json replace section.
ComposerIntegrationTest::testComposerLockHash function core/tests/Drupal/Tests/ComposerIntegrationTest.php Tests composer.lock content-hash.
ComposerIntegrationTest::testComposerTilde function core/tests/Drupal/Tests/ComposerIntegrationTest.php Tests composer.json versions.
ComposerIntegrationTest::testExpectedScaffoldFiles function core/tests/Drupal/Tests/ComposerIntegrationTest.php Tests core's composer.json extra drupal-scaffold file-mappings section.
ComposerIntegrationTest::testVendorCleanup function core/tests/Drupal/Tests/ComposerIntegrationTest.php Tests the vendor cleanup utilities do not have obsolete packages listed.
ComposerIntegrationTrait trait core/tests/Drupal/Tests/Composer/ComposerIntegrationTrait.php Some utility functions for testing the Composer integration.
ComposerIntegrationTrait.php file core/tests/Drupal/Tests/Composer/ComposerIntegrationTrait.php
ComposerIntegrationTrait::getComposerJsonFinder function core/tests/Drupal/Tests/Composer/ComposerIntegrationTrait.php Get a Finder object to traverse all of the composer.json files in core.
ComposerMinimumStabilityValidator class core/modules/package_manager/src/Validator/ComposerMinimumStabilityValidator.php Checks that the packages to install meet the minimum stability.
ComposerMinimumStabilityValidator.php file core/modules/package_manager/src/Validator/ComposerMinimumStabilityValidator.php
ComposerMinimumStabilityValidator::getSubscribedEvents function core/modules/package_manager/src/Validator/ComposerMinimumStabilityValidator.php
ComposerMinimumStabilityValidator::validate function core/modules/package_manager/src/Validator/ComposerMinimumStabilityValidator.php Validates composer minimum stability.
ComposerMinimumStabilityValidator::__construct function core/modules/package_manager/src/Validator/ComposerMinimumStabilityValidator.php
ComposerMinimumStabilityValidatorTest class core/modules/package_manager/tests/src/Kernel/ComposerMinimumStabilityValidatorTest.php Tests Composer Minimum Stability Validator.
ComposerMinimumStabilityValidatorTest.php file core/modules/package_manager/tests/src/Kernel/ComposerMinimumStabilityValidatorTest.php
ComposerMinimumStabilityValidatorTest::testPreRequireEvent function core/modules/package_manager/tests/src/Kernel/ComposerMinimumStabilityValidatorTest.php Tests error if requested version is less stable than the minimum: stable.
ComposerNotReadyException class core/modules/package_manager/src/Exception/ComposerNotReadyException.php Exception thrown if we cannot reliably use Composer.
ComposerNotReadyException.php file core/modules/package_manager/src/Exception/ComposerNotReadyException.php

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