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

Breadcrumb

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

function Plugin::getSubscribedEvents

Same name in this branch
  1. 11.1.x vendor/dealerdirect/phpcodesniffer-composer-installer/src/Plugin.php \PHPCSStandards\Composer\Plugin\Installers\PHPCodeSniffer\Plugin::getSubscribedEvents()
  2. 11.1.x vendor/phpstan/extension-installer/src/Plugin.php \PHPStan\ExtensionInstaller\Plugin::getSubscribedEvents()
  3. 11.1.x vendor/php-http/discovery/src/Composer/Plugin.php \Http\Discovery\Composer\Plugin::getSubscribedEvents()
  4. 11.1.x composer/Plugin/Scaffold/Plugin.php \Drupal\Composer\Plugin\Scaffold\Plugin::getSubscribedEvents()

Overrides EventSubscriberInterface::getSubscribedEvents

File

vendor/tbachert/spi/src/Composer/Plugin.php, line 38

Class

Plugin

Namespace

Nevay\SPI\Composer

Code

public static function getSubscribedEvents() : array {
    return [
        ScriptEvents::PRE_AUTOLOAD_DUMP => 'preAutoloadDump',
    ];
}

API Navigation

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