Add module validation to drush module enabling

Created on 15 May 2025, about 2 months ago

Problem/Motivation

Module validation is currently only performed when enabling a module from the Drupal admin interface. It should however also throw an error if a disallowed module is enabled from the terminal using Drush.

Proposed resolution

Create a Drush hook which hooks into the PmCommands::INSTALL command and validates that no disallowed modules will be installed.

Remaining tasks

- Create Drush hook

User interface changes

None

API changes

None

Data model changes

New Drush hook

Feature request
Status

Active

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024