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/phpstan/extension-installer/src/Plugin.php \PHPStan\ExtensionInstaller\Plugin::getSubscribedEvents()
  2. 11.1.x vendor/php-http/discovery/src/Composer/Plugin.php \Http\Discovery\Composer\Plugin::getSubscribedEvents()
  3. 11.1.x vendor/tbachert/spi/src/Composer/Plugin.php \Nevay\SPI\Composer\Plugin::getSubscribedEvents()
  4. 11.1.x composer/Plugin/Scaffold/Plugin.php \Drupal\Composer\Plugin\Scaffold\Plugin::getSubscribedEvents()

Overrides EventSubscriberInterface::getSubscribedEvents

File

vendor/dealerdirect/phpcodesniffer-composer-installer/src/Plugin.php, line 161

Class

Plugin
PHP_CodeSniffer standard installation manager.

Namespace

PHPCSStandards\Composer\Plugin\Installers\PHPCodeSniffer

Code

public static function getSubscribedEvents() {
    return array(
        ScriptEvents::POST_INSTALL_CMD => array(
            array(
                'onDependenciesChangedEvent',
                0,
            ),
        ),
        ScriptEvents::POST_UPDATE_CMD => array(
            array(
                'onDependenciesChangedEvent',
                0,
            ),
        ),
    );
}

API Navigation

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