function hook_default_message_template_alter in Message 8
Alter default message template configurations.
Parameters
array $defaults: An array of default message templates, keyed by machine names.
See also
hook_default_message_template()
File
- ./
message.api.php, line 90 - Hooks provided by the Message module.
Code
function hook_default_message_template_alter(array &$defaults) {
$defaults['main']->name = 'custom name';
}