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

Breadcrumb

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

function PluginManager::loadInstalledPlugins

Loads all plugins from currently installed plugin packages

File

vendor/composer/composer/src/Composer/Plugin/PluginManager.php, line 99

Class

PluginManager
Plugin manager

Namespace

Composer\Plugin

Code

public function loadInstalledPlugins() : void {
    if (!$this->arePluginsDisabled('local')) {
        $repo = $this->composer
            ->getRepositoryManager()
            ->getLocalRepository();
        $this->loadRepository($repo, false, $this->composer
            ->getPackage());
    }
    if ($this->globalComposer !== null && !$this->arePluginsDisabled('global')) {
        $this->loadRepository($this->globalComposer
            ->getRepositoryManager()
            ->getLocalRepository(), true);
    }
}

API Navigation

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