Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is there a way to programatically disable the module? For example, with the "devel" module has the devel_silent function which looks in several places to decide whether it should be quiet or not. This allows a module to set a key in $GLOBALS which can stop the search.
Comments
Comment #1
zyxware CreditAttribution: zyxware commentedNo, there is no way to programmatically disable the module currently. What is the use case for this?
Comment #2
anish_zyxware CreditAttribution: anish_zyxware at Zyxware Technologies commented