t('Views Send'), ); return array( 'views_send_email_sent' => $defaults + array( 'label' => t('After sending an individual email'), 'variables' => array( 'views_send_email_message' => array( 'type' => 'views_send_email_message', 'label' => t('e-mail message'), 'description' => t('All information about the message.') ), ), ), 'views_send_all_email_added_to_spool' => $defaults + array( 'label' => t('After adding all e-mails to the spool'), 'variables' => array( 'views_send_email_count' => array( 'type' => 'integer', 'label' => t('message count'), 'description' => t('The number of messages added to the spool.') ), ), ), 'views_send_email_added_to_spool' => $defaults + array( 'label' => t('After adding an individual e-mail to the spool'), 'variables' => array( 'views_send_email_message' => array( 'type' => 'views_send_email_message', 'label' => t('e-mail message'), 'description' => t('All information about the message.') ), ), ), ); } /** * Implementation of hook_rules_data_info(). */ function views_send_rules_data_info() { return array( 'views_send_email_message' => array( 'label' => t('Views Send e-mail message'), 'group' => t('Views Send'), 'wrap' => TRUE, 'property info' => _views_send_email_message_property_info(), ), ); }