You are here

function multiple_email_entity_property_info_alter in Multiple E-mail Addresses 7

Same name and namespace in other branches
  1. 2.x multiple_email.module \multiple_email_entity_property_info_alter()

Implements hook_entity_property_info_alter().

File

./multiple_email.module, line 912
multiple_email module file

Code

function multiple_email_entity_property_info_alter(&$info) {
  $info['user']['properties']['multiple_email'] = array(
    'label' => t("Email addresses"),
    'type' => 'list<multiple_email>',
    'description' => t("The email address governed by multiple email module."),
    'getter callback' => 'multiple_email_user_emails_property_get',
  );
}