Add kill-switch
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3300864. --> Reported by: [jurgenhaas](https://www.drupal.org/user/168924) >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>There are scenarios, where events should still be recognized and notifications being created, but their delivery should be prevented, e.g. in development or other non-live stages.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Such a kill-switch should either be done with a setting or as a flag in Drupal's state environment. When it's being enabled, all created notifications should get their flag "delivered" being set to 1.</p> <p>Extra attention should be spent to recipient selection plugins that implement immediate delivery.</p>
issue