You are here

function regcode_entity_info in Registration codes 7

Same name and namespace in other branches
  1. 7.2 regcode.module \regcode_entity_info()

Implements hook_entity_info().

File

./regcode.module, line 124
Main functionality and hooks of regcode module.

Code

function regcode_entity_info() {
  return array(
    'regcode' => array(
      'label' => t('Registration Code'),
      'base table' => 'regcode',
      'entity keys' => array(
        'id' => 'rid',
        'label' => 'code',
      ),
    ),
  );
}