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

Breadcrumb

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

function ConfigSourceInterface::addLink

Add a package link

Parameters

string $type Type (require, require-dev, provide, suggest, replace, conflict):

string $name Name:

string $value Value:

1 method overrides ConfigSourceInterface::addLink()
JsonConfigSource::addLink in vendor/composer/composer/src/Composer/Config/JsonConfigSource.php
@inheritDoc

File

vendor/composer/composer/src/Composer/Config/ConfigSourceInterface.php, line 70

Class

ConfigSourceInterface
Configuration Source Interface

Namespace

Composer\Config

Code

public function addLink(string $type, string $name, string $value) : void;

API Navigation

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