7 calls to InstalledPackage::createFromArray()
- ComposerInspector::getInstalledPackagesList in core/
modules/ package_manager/ src/ ComposerInspector.php - Returns the installed packages list.
- ComposerInspectorTest::testGetInstalledPackagesList in core/
modules/ package_manager/ tests/ src/ Kernel/ ComposerInspectorTest.php - @covers ::getInstalledPackagesList
- InstalledPackagesListTest::testCorePackages in core/
modules/ package_manager/ tests/ src/ Unit/ InstalledPackagesListTest.php - @covers ::getCorePackages
- InstalledPackagesListTest::testPackageByDrupalProjectName in core/
modules/ package_manager/ tests/ src/ Kernel/ InstalledPackagesListTest.php - @covers \Drupal\package_manager\InstalledPackage::getProjectName @covers ::getPackageByDrupalProjectName
- InstalledPackagesListTest::testPackageComparison in core/
modules/ package_manager/ tests/ src/ Unit/ InstalledPackagesListTest.php - @covers ::getPackagesNotIn @covers ::getPackagesWithDifferentVersionsIn
- InstalledPackageTest::testMetapackageWithAPath in core/
modules/ package_manager/ tests/ src/ Unit/ InstalledPackageTest.php - @covers ::createFromArray
- InstalledPackageTest::testPathResolution in core/
modules/ package_manager/ tests/ src/ Unit/ InstalledPackageTest.php - @covers ::createFromArray
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.