Skip to content
Snippets Groups Projects
Commit 46204944 authored by Kevin Paxman's avatar Kevin Paxman
Browse files

Merge branch 'feature/ISTWCMS-51159-ebremner-sendgrid-categories' into '1.0.x'

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

See merge request !157
parents d4cb55d7 692b4925
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;
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().
*/
......
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