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

Breadcrumb

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

function BasePackage::isPlatform

checks if this package is a platform package

File

vendor/composer/composer/src/Composer/Package/BasePackage.php, line 165

Class

BasePackage
Base class for packages providing name storage and default match implementation

Namespace

Composer\Package

Code

public function isPlatform() : bool {
    return $this->getRepository() instanceof PlatformRepository;
}

API Navigation

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