Navigation principale

  • Home page
  • All CMS
  • Tutorials
  • White Paper

Menu du compte de l'utilisateur

  • Log in
Home
Image not available
Guide CMS

Breadcrumb

  • Home
  • Tutorials
  • Drupal User Guide
  • Chapter 4. Basic Site Configuration
  • 4.4. Uninstalling Unused Modules

Sélecteur de langue

  • French
  • English

Navigation principale

  • Home page
  • All CMS
  • Tutorials
  • White Paper

Navigation du livre

  • Drupal User Guide
    • Preface
    • Chapter 1. Understanding Drupal
    • Chapter 2. Planning Your Site
    • Chapter 3. Installation
    • Chapter 4. Basic Site Configuration
      • 4.1. Concept: Administrative Overview
      • 4.2. Editing Basic Site Information
      • 4.3. Installing a Module
      • 4.4. Uninstalling Unused Modules
      • 4.5. Configuring User Account Settings
      • 4.6. Configuring the Theme

Connexion utilisateur

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
  • Create new account
  • Reset your password

4.4. Uninstalling Unused Modules

By Guy Vigneault | 11:33 PM EDT, Mon March 17, 2025

Goal

Uninstall the core Search and History modules, as well as the core Actions UI module if you installed it in Section 4.3, “Installing a Module”, to reduce overhead.

Prerequisite knowledge

Section 1.2, “Concept: Modules”

Site prerequisites

  • You must have at least one unused module on your site that you want to uninstall, such as the core Search module.
  • If you want to use Drush to uninstall modules, Drush must be installed. See Section 3.2, “Concept: Additional Tools”.

Steps

You can use the administrative interface or Drush to uninstall modules.

Using the administrative interface

  1. In the Manage administrative menu, navigate to Extend > Uninstall (admin/modules/uninstall) where you will find the list of modules that are ready to be uninstalled.
  2. Check the boxes for the modules you are uninstalling (Search, History, and Actions UI). Click Uninstall at the bottom of the page.

    Uninstalling module

    Image not available

    Note

    You cannot uninstall a module if it is required by some other module(s) and/or functionality. For example, the core File module is required by the core Text Editor, CKEditor, and Image modules. It can’t be uninstalled unless you uninstall its dependent module(s) and functionality first. A module that cannot be uninstalled yet will have a disabled checkbox, restricting you from uninstalling it.

  3. Step 2 will prompt you to confirm the module uninstall request. Click Uninstall.

    Confirm uninstall - search module

    Image not available

Using Drush

  1. In the Manage administrative menu, navigate to Extend (admin/modules). The Extend page appears showing all the available modules in your site.
  2. Find the machine name of the module you want to uninstall, by expanding the information area for the module. For instance, the core Actions UI module’s machine name is action.
  3. Run the following Drush command to uninstall the module:

    drush pm:uninstall action

Expand your understanding

  • Section 3.2, “Concept: Additional Tools”
  • Section 12.2, “Clearing the Cache”
  • You can also uninstall the core Comment module by following these steps, but only after comment fields have been removed, which is a side effect of Section 6.2, “Deleting a Content Type”.

Videos

Uninstalling Unused Modules

Attributions

Written and edited by Joe Shindelar at Drupalize.Me, Surendra Mohan, and Jojy Alphonso at Red Crackle.

 

Book traversal links for 4.4. Désinstaller les modules inutilisés

  • ‹ 4.3. Installing a Module
  • Up
  • 4.5. Configuring User Account Settings ›
Tous les cms
Image not available

All CMS

 

Tutoriels
Image not available

Tutorials

 

Livres Blanc
Image not available

White Paper

 

Powered by Drupal
Subscribe to Flux RSS

Politique de confidentialite

Politique de confidentialite

 

Privacy Policy

Recent content

  • Magento
    1 month 2 weeks ago
  • Blogger
    1 month 2 weeks ago
  • 4.6. Configuring the Theme
    2 months 2 weeks ago
  • 4.5. Configuring User Account Settings
    2 months 2 weeks ago
  • 4.4. Uninstalling Unused Modules
    2 months 2 weeks ago

Copyright

Copyright

 

 

Sauf mention contraire, Guide CMS © 2025 par Guy Vigneault est sous licence Creative Commons Attribution-ShareAlike 4.0 International 

Copyright

 

 

Unless otherwise stated, Guide CMS © 2025 by Guy Vigneault is licensed under Creative Commons Attribution-ShareAlike 4.0 International 

eGV Web

We use cookies on this site to enhance your user experience

By clicking the Accept button, you agree to us doing so.