You are here

function hook_default_message_category_alter in Message 8

Alter default message template category configurations.

Parameters

array $defaults: An array of default message template categories, keyed by machine names.

See also

hook_default_message_category()

File

./message.api.php, line 135
Hooks provided by the Message module.

Code

function hook_default_message_category_alter(array &$defaults) {
  $defaults['main']->name = 'custom name';
}