Drush commands to disable/enable all ECA models
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3305756. --> Reported by: [jurgenhaas](https://www.drupal.org/user/168924) Related to !215 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>There are situations, e.g. when calling <code>migrate:import</code>, where ECA should not be active. We already have a kill switch, but that can only be turned on in settings, and that's not easily possible when running scripts from the commands line.</p> <p>Instead, invoking a drush command that disables all existing ECA models, would be much more convenient. Afterwards, enabling them all at once again with a drush command as well, will make things complete.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Implement 2 new drush commands utilizing the already existing enable/disable functions implemented in modellers.</p>
issue