You are here

function mimemail_action_info in Mime Mail 6

Same name and namespace in other branches
  1. 7 modules/mimemail_action/mimemail_action.module \mimemail_action_info()

Implements hook_action_info().

File

modules/mimemail_action/mimemail_action.module, line 11
Provide actions for the Mime Mail module.

Code

function mimemail_action_info() {
  return array(
    'mimemail_send_mail_action' => array(
      'description' => t('Send an HTML e-mail'),
      'type' => 'system',
      'configurable' => TRUE,
      'hooks' => array(
        'nodeapi' => array(
          'view',
          'insert',
          'update',
          'delete',
        ),
        'comment' => array(
          'view',
          'insert',
          'update',
          'delete',
        ),
        'user' => array(
          'view',
          'insert',
          'update',
          'delete',
          'login',
        ),
        'taxonomy' => array(
          'insert',
          'update',
          'delete',
        ),
      ),
    ),
  );
}