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

Breadcrumb

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

function SpdxLicenses::getLicenses

Returns all licenses information, keyed by the lowercased license identifier.

Return value

array{0: string, 1: string, 2: bool, 3: bool}[] Each item is [ 0 => identifier (string), 1 => full name (string), 2 => osi certified (bool), 3 => deprecated (bool) ]

File

vendor/composer/spdx-licenses/src/SpdxLicenses.php, line 103

Class

SpdxLicenses

Namespace

Composer\Spdx

Code

public function getLicenses() {
    return $this->licenses;
}

API Navigation

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