Skip to content
Snippets Groups Projects
Commit 692b4925 authored by Eric Bremner's avatar Eric Bremner Committed by Kevin Paxman
Browse files

ISTWCMS-5159: setting the category for all sendgrid to WCMS

parent d4cb55d7
No related branches found
No related tags found
1 merge request!157ISTWCMS-5159: setting the category for all sendgrid to WCMS
...@@ -17,6 +17,17 @@ use Drupal\uw_cfg_common\Service\UWService; ...@@ -17,6 +17,17 @@ use Drupal\uw_cfg_common\Service\UWService;
use Drupal\webform\WebformInterface; use Drupal\webform\WebformInterface;
use Drupal\webform\WebformSubmissionStorageInterface; 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(). * Implements hook_metatags_attachments_alter().
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment