You are here

function multiple_email_entity_info in Multiple E-mail Addresses 7

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

Implements hook_entity_info().

File

./multiple_email.module, line 812
multiple_email module file

Code

function multiple_email_entity_info() {
  $return = array(
    'multiple_email' => array(
      'label' => t('Email address of user'),
      'base table' => 'multiple_email',
      'module' => 'multiple_email',
      'fieldable' => TRUE,
      'entity keys' => array(
        'id' => 'eid',
        'label' => 'email',
      ),
      'creation callback' => 'multiple_email_entity_create',
      'configuration' => FALSE,
    ),
  );
  return $return;
}