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

Breadcrumb

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

function PluginInterface::deactivate

Remove any hooks from Composer

This will be called when a plugin is deactivated before being uninstalled, but also before it gets upgraded to a new version so the old one can be deactivated and the new one activated.

Return value

void

8 methods override PluginInterface::deactivate()
MessagePlugin::deactivate in composer/Plugin/ProjectMessage/MessagePlugin.php
Remove any hooks from Composer
Plugin::deactivate in vendor/dealerdirect/phpcodesniffer-composer-installer/src/Plugin.php
Remove any hooks from Composer
Plugin::deactivate in vendor/phpstan/extension-installer/src/Plugin.php
Remove any hooks from Composer
Plugin::deactivate in vendor/php-http/discovery/src/Composer/Plugin.php
Remove any hooks from Composer
Plugin::deactivate in vendor/composer/installers/src/Composer/Installers/Plugin.php
Remove any hooks from Composer

... See full list

File

vendor/composer/composer/src/Composer/Plugin/PluginInterface.php, line 53

Class

PluginInterface
Plugin interface

Namespace

Composer\Plugin

Code

public function deactivate(Composer $composer, IOInterface $io);

API Navigation

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