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

Breadcrumb

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

function SpdxLicenses::isDeprecatedByIdentifier

Returns the deprecation status for a license by identifier.

Parameters

string $identifier:

Return value

bool

File

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

Class

SpdxLicenses

Namespace

Composer\Spdx

Code

public function isDeprecatedByIdentifier($identifier) {
    return $this->licenses[strtolower($identifier)][3];
}

API Navigation

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