function messaging_debug_messaging in Messaging 6
Same name and namespace in other branches
- 5 messaging_debug/messaging_debug.module \messaging_debug_messaging()
- 6.2 messaging_debug/messaging_debug.module \messaging_debug_messaging()
- 6.3 messaging_debug/messaging_debug.module \messaging_debug_messaging()
Implementation of hook_messaging
File
- messaging_debug/
messaging_debug.module, line 178 - Simple messaging using html page. Messaging method plug-in
Code
function messaging_debug_messaging($op = 'info', $type = NULL) {
switch ($op) {
case 'send methods':
$info['debug'] = array(
'title' => t('Debug'),
'name' => t('Debug'),
'destination' => 'name',
'type' => MESSAGING_TYPE_PUSH,
'glue' => '<br />',
'description' => t('The messages will be just logged (And printed on page if Devel module enabled).'),
'send callback' => 'messaging_debug_send_msg',
);
return $info;
}
}