Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 10.3.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
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.
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 class core/tests/Drupal/Tests/Composer/ComposerIntegrationTest.php Tests Composer integration.
ComposerIntegrationTest.php file core/tests/Drupal/Tests/Composer/ComposerIntegrationTest.php
ComposerIntegrationTest.php file core/tests/Drupal/Tests/ComposerIntegrationTest.php
ComposerIntegrationTest::$originalBinDirEnv property core/tests/Drupal/Tests/Composer/ComposerIntegrationTest.php The original COMPOSER_BIN_DIR value, if any.
ComposerIntegrationTest::createProjectRoot function core/tests/Drupal/Tests/Composer/ComposerIntegrationTest.php Creates a virtual project root with an optional composer.json.
ComposerIntegrationTest::getContentHash function core/tests/Drupal/Tests/Composer/ComposerIntegrationTest.php Returns the md5 hash of the sorted content of the composer file.
ComposerIntegrationTest::getContentHash function core/tests/Drupal/Tests/ComposerIntegrationTest.php Returns the md5 hash of the sorted content of the composer file.
ComposerIntegrationTest::providerBinDir function core/tests/Drupal/Tests/Composer/ComposerIntegrationTest.php Data provider for testBinDir().
ComposerIntegrationTest::providerTestComposerJson function core/tests/Drupal/Tests/Composer/ComposerIntegrationTest.php Data provider for all the composer.json provided by Drupal core.
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::providerTestExpectedScaffoldFiles function core/tests/Drupal/Tests/Composer/ComposerIntegrationTest.php Data provider for the scaffold files test for Drupal core.
ComposerIntegrationTest::setUp function core/tests/Drupal/Tests/Composer/ComposerIntegrationTest.php
ComposerIntegrationTest::tearDown function core/tests/Drupal/Tests/Composer/ComposerIntegrationTest.php
ComposerIntegrationTest::testAbsoluteBinDir function core/tests/Drupal/Tests/Composer/ComposerIntegrationTest.php Tests that an absolute bin-dir is returned unchanged.
ComposerIntegrationTest::testAllCoreComponentsReplaced function core/tests/Drupal/Tests/Composer/ComposerIntegrationTest.php Tests core's composer.json replace section.
ComposerIntegrationTest::testAllCoreComponentsReplaced function core/tests/Drupal/Tests/ComposerIntegrationTest.php Tests core's composer.json replace section.
ComposerIntegrationTest::testBinDir function core/tests/Drupal/Tests/Composer/ComposerIntegrationTest.php Tests bin dir resolution against composer.json contents.
ComposerIntegrationTest::testComposerLockHash function core/tests/Drupal/Tests/Composer/ComposerIntegrationTest.php Tests composer.lock content-hash.

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