Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. InstalledVersions.php

function InstalledVersions::getAllRawData

Same name in this branch
  1. 11.1.x vendor/composer/composer/src/Composer/InstalledVersions.php \Composer\InstalledVersions::getAllRawData()

Returns the raw data of all installed.php which are currently loaded for custom implementations

@psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>

Return value

array[]

1 call to InstalledVersions::getAllRawData()
DrupalFinderComposerRuntime::getComposerRoot in vendor/webflo/drupal-finder/src/DrupalFinderComposerRuntime.php
Get the path to the Composer root directory.

File

vendor/composer/InstalledVersions.php, line 290

Class

InstalledVersions
This class is copied in every Composer installed project and available to all

Namespace

Composer

Code

public static function getAllRawData() {
    return self::getInstalled();
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal