By Paul Paku


2019-03-12 17:31:31 8 Comments

Does composer remove drupal/module actually uninstall the module first, especially in multi-site environments?

On the other hand, does composer require "enable" the given module for all sites?

1 comments

@Clive 2019-03-12 17:57:28

No, Composer doesn’t install or uninstall modules in the site itself.

It’s a dependency manager; all it does is compute your requirements, then download them.

You might be able to add a post install/update command to automate it, but trying to make it generic would probably be a pain.

@Paul Paku 2019-03-12 18:06:26

So it is possible to crush the site letting composer remove installed module ?

@Kevin 2019-03-12 18:14:55

Yes, it would be like deleting a module folder without uninstalling it.

Related Questions

Sponsored Content

1 Answered Questions

[SOLVED] Support composer_manager AND drupal-composer/drupal-project with contrib module

  • 2019-02-24 17:42:15
  • donquixote
  • 27 View
  • 0 Score
  • 1 Answer
  • Tags:   7 composer

1 Answered Questions

[SOLVED] Composer install dependency error drupal/drupal dev-master

  • 2018-12-15 14:09:21
  • theuni
  • 257 View
  • 1 Score
  • 1 Answer
  • Tags:   composer

1 Answered Questions

[SOLVED] Converting a drupal/drupal site to Work With Composer

  • 2018-11-20 19:22:49
  • Aaron Chamberlain
  • 357 View
  • 0 Score
  • 1 Answer
  • Tags:   8 composer

1 Answered Questions

[SOLVED] Composer require drupal/ packages doesn't work

  • 2018-07-17 13:57:45
  • arnoldbird
  • 68 View
  • 1 Score
  • 1 Answer
  • Tags:   composer upgrading

2 Answered Questions

[SOLVED] Why does RELAXed Web Services Not appear in the module list?

  • 2018-05-03 14:54:12
  • James R
  • 105 View
  • 0 Score
  • 2 Answer
  • Tags:   8 composer

1 Answered Questions

[SOLVED] Composer update Drupal core, 8.5.1 to 8.5.2 Nothing to Install

  • 2018-04-21 06:59:37
  • winteck
  • 614 View
  • 3 Score
  • 1 Answer
  • Tags:   composer

1 Answered Questions

[SOLVED] How to move Drupal 8 with composer, to another server

  • 2018-03-12 14:19:38
  • Daniel
  • 555 View
  • 0 Score
  • 1 Answer
  • Tags:   8 composer

0 Answered Questions

Module requires Composer install of third-party library

  • 2018-03-06 16:50:50
  • timftw
  • 186 View
  • 1 Score
  • 0 Answer
  • Tags:   composer aegir

1 Answered Questions

[SOLVED] Error during "composer drupal-update" for Drupal 8.0.5

  • 2016-03-06 14:39:15
  • James Shields
  • 512 View
  • 0 Score
  • 1 Answer
  • Tags:   8 composer

2 Answered Questions

[SOLVED] How to safely remove drush via pear and then install via composer?

  • 2014-10-04 16:27:48
  • Akko
  • 3959 View
  • 5 Score
  • 2 Answer
  • Tags:   drush composer

Sponsored Content