You are here

function _views_send_email_message_property_info in Views Send 8

Same name and namespace in other branches
  1. 7 views_send.module \_views_send_email_message_property_info()

Returns property info for Views Send Email Message

2 calls to _views_send_email_message_property_info()
views_send.module in ./views_send.module
The Views Send module.
views_send_rules_data_info in ./views_send.rules.inc
Implementation of hook_rules_data_info().

File

./views_send.module, line 1072
The Views Send module.

Code

function _views_send_email_message_property_info() {
  $propertyinfo = array(
    'uid' => array(
      'type' => 'integer',
      'label' => t('User ID'),
    ),
    'timestamp' => array(
      'type' => 'integer',
      'label' => t('Timestamp'),
    ),
    'from_name' => array(
      'type' => 'text',
      'label' => t('Sender\'s name'),
    ),
    'from_mail' => array(
      'type' => 'text',
      'label' => t('Sender\'s e-mail'),
    ),
    'to_name' => array(
      'type' => 'text',
      'label' => t('Recipient\'s name'),
    ),
    'to_mail' => array(
      'type' => 'text',
      'label' => t('Recipient\'s e-mail'),
    ),
    'subject' => array(
      'type' => 'text',
      'label' => t('E-mail subject'),
    ),
    'body' => array(
      'type' => 'text',
      'label' => t('E-mail body'),
    ),
    'headers' => array(
      'type' => 'text',
      'label' => t('E-mail headers (serialized)'),
    ),
  );
  return $propertyinfo;
}