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 11.x for all
  6. Other projects
Title Object type File name Summary
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.
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

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