function multiple_email_entity_info in Multiple E-mail Addresses 2.x
Same name and namespace in other branches
- 7 multiple_email.module \multiple_email_entity_info()
Implements hook_entity_info().
File
- ./
multiple_email.module, line 772 - 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;
}