You are here

function user_external_invite_entity_info in User External Invite 7

Same name and namespace in other branches
  1. 7.2 user_external_invite.module \user_external_invite_entity_info()
  2. 1.0.x user_external_invite.module \user_external_invite_entity_info()

Implements hook_entity_info().

File

./user_external_invite.module, line 11
Invites a user to site when connecting via external protocol e.g. LDAP.

Code

function user_external_invite_entity_info() {
  $info = array();
  $info['ext-invite'] = array(
    'label' => t('Invite'),
    'base table' => 'user_external_invite',
    'entity class' => 'Entity',
    'controller class' => 'EntityAPIController',
    'entity keys' => array(
      'id' => 'id',
      'label' => 'mail',
    ),
    'module' => 'user_external_invite',
  );
  return $info;
}