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

Breadcrumb

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

function JsonConfigSource::addLink

@inheritDoc

Overrides ConfigSourceInterface::addLink

File

vendor/composer/composer/src/Composer/Config/JsonConfigSource.php, line 185

Class

JsonConfigSource
JSON Configuration Source

Namespace

Composer\Config

Code

public function addLink(string $type, string $name, string $value) : void {
    $this->manipulateJson('addLink', static function (&$config, $type, $name, $value) : void {
        $config[$type][$name] = $value;
    }, $type, $name, $value);
}

API Navigation

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