Refactor to decorate ModuleHandler instead of HMIA, to make it work in Drupal 10 with Drush 13
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3499285. -->
Reported by: [nicxvan](https://www.drupal.org/user/531480)
Related to !8
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Dynamic removal of hooks will not be supported for long, let's also remove the dependency on drush.</p>
<p>Also, it seems like the Migrate Boost module does not currently work in Drupal 10 with Drush 13.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>Try to block a module from hooking into the migration process using the standard method, and see that the module still hooks in.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Get version 2.x to work in Drupal 10 with Drush 13.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
> Related issue: [Issue #3512815](https://www.drupal.org/node/3512815)
> Related issue: [Issue #3506194](https://www.drupal.org/node/3506194)
issue