You are here

function messaging_debug_action_info in Messaging 6

Same name and namespace in other branches
  1. 6.2 messaging_debug/messaging_debug.module \messaging_debug_action_info()
  2. 6.3 messaging_debug/messaging_debug.module \messaging_debug_action_info()

Implementation of hook_action_info().

File

messaging_debug/messaging_debug.module, line 197
Simple messaging using html page. Messaging method plug-in

Code

function messaging_debug_action_info() {
  return array(
    'messaging_debug_watchdog_msg' => array(
      'type' => 'messaging',
      'description' => t('Log message to watchdog'),
      'configurable' => FALSE,
      'hooks' => array(
        'messaging' => array(
          'incoming',
          'outgoing',
        ),
      ),
    ),
    'messaging_debug_devlog_msg' => array(
      'description' => t('Log message through devel module'),
      'type' => 'messaging',
      'configurable' => FALSE,
      'hooks' => array(
        'messaging' => array(
          'incoming',
          'outgoing',
        ),
      ),
    ),
    'messaging_debug_block_msg' => array(
      'description' => t('Display message in block'),
      'type' => 'messaging',
      'configurable' => FALSE,
      'hooks' => array(
        'messaging' => array(
          'incoming',
          'outgoing',
        ),
      ),
    ),
  );
}