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

Breadcrumb

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

function PackageInterface::getConflicts

Returns a set of links to packages which must not be installed at the same time as this package

Return value

Link[] An array of package links defining conflicting packages

2 methods override PackageInterface::getConflicts()
AliasPackage::getConflicts in vendor/composer/composer/src/Composer/Package/AliasPackage.php
@inheritDoc
Package::getConflicts in vendor/composer/composer/src/Composer/Package/Package.php
@inheritDoc

File

vendor/composer/composer/src/Composer/Package/PackageInterface.php, line 257

Class

PackageInterface
Defines the essential information a package has that is used during solving/installation

Namespace

Composer\Package

Code

public function getConflicts() : array;

API Navigation

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