You are here

function word_link_entity_info in Word Link 7.2

Implements hook_entity_info().

File

./word_link.module, line 33

Code

function word_link_entity_info() {
  return array(
    'word_link' => array(
      'label' => t('Word Link'),
      'base table' => 'word_link',
      'fieldable' => FALSE,
      'entity keys' => array(
        'id' => 'id',
        'label' => 'text',
      ),
      'bundles' => array(),
      'deletion callback' => 'word_link_delete',
    ),
  );
}