Problem/Motivation

Sometimes we need to add a recipient or change the text depending on the type of content or field values. We thought it could be done programmatically.

Proposed resolution

Allow to use hook_admin_content_notification_recipients_alter() and hook_admin_content_notification_params_alter().

Remaining tasks

None.

User interface changes

None.

API changes

Will be added admin_content_notification.api.php with instructions.

Data model changes

None.

Release notes snippet

Added hook_admin_content_notification_recipients_alter() and hook_admin_content_notification_params_alter().

Comments

RuslanP created an issue. See original summary.

ruslan piskarov’s picture

Status: Active » Needs review
StatusFileSize
new2.39 KB

Providing the patch. Please review.
And thank you for the module.

ruslan piskarov’s picture

StatusFileSize
new2.63 KB

Providing better patch. Please review.

  • 17d3fbb committed on 8.x-3.x
    fix issues #3007555, #3016410, #3016454
    
  • ab783b4 committed on 8.x-3.x
    fix issues #3007555, #3016410, #3016454
    

  • 1877c0f committed on 8.x-3.x
    fix issues #3007555, #3016410, #3016454
    
manish.upadhyay’s picture

Status: Needs review » Fixed
manish.upadhyay’s picture

manish.upadhyay’s picture

Status: Fixed » Closed (fixed)