Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 8.9.x for to
  4. Search 10.3.x for to
  5. Other projects
Title Object type File name Summary
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.
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.
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.
ComposerPatchesValidator class core/modules/package_manager/src/Validator/ComposerPatchesValidator.php Validates the configuration of the cweagans/composer-patches plugin.
ComposerPatchesValidator.php file core/modules/package_manager/src/Validator/ComposerPatchesValidator.php
ComposerPatchesValidator::computePatcherStatus function core/modules/package_manager/src/Validator/ComposerPatchesValidator.php Computes the status of the patcher plugin in a particular directory.
ComposerPatchesValidator::createErrorMessage function core/modules/package_manager/src/Validator/ComposerPatchesValidator.php Appends a link to online help to an error message.
ComposerPatchesValidator::getSubscribedEvents function core/modules/package_manager/src/Validator/ComposerPatchesValidator.php
ComposerPatchesValidator::PLUGIN_NAME constant core/modules/package_manager/src/Validator/ComposerPatchesValidator.php The name of the plugin being analyzed.
ComposerPatchesValidator::validate function core/modules/package_manager/src/Validator/ComposerPatchesValidator.php Validates the status of the patcher plugin.
ComposerPatchesValidator::__construct function core/modules/package_manager/src/Validator/ComposerPatchesValidator.php
ComposerPatchesValidatorTest class core/modules/package_manager/tests/src/Kernel/ComposerPatchesValidatorTest.php Tests Composer Patches Validator.

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