diff --git a/uw_cfg_common.module b/uw_cfg_common.module index 8f9392eb0bfad7d708f824b6851ccd38edb3631f..7ce77cfd2ece9fd74062ddd790e96b81c78f94bc 100644 --- a/uw_cfg_common.module +++ b/uw_cfg_common.module @@ -17,6 +17,17 @@ use Drupal\uw_cfg_common\Service\UWService; use Drupal\webform\WebformInterface; use Drupal\webform\WebformSubmissionStorageInterface; +/** + * Implements hook_sendgrid_integration_categories_alter(). + * + * Set the category for all sendmail as WCMS. + */ +function uw_cfg_common_sendgrid_integration_categories_alter($message, $categories) { + $categories = ['WCMS']; + + return $categories; +} + /** * Implements hook_metatags_attachments_alter(). */