You are here

function shoutbox_entity_info in Shoutbox 7

Same name and namespace in other branches
  1. 7.2 shoutbox.module \shoutbox_entity_info()

Implements hook_entity_info().

File

./shoutbox.module, line 1074
Shoutbox module displays a block for users to create short messages for the whole site. Uses AHAH to update the database and display content.

Code

function shoutbox_entity_info() {
  return array(
    'shout' => array(
      'label' => t(DEFAULTSHOUTSINGULAR_CC),
      'base table' => 'shoutbox',
      'entity keys' => array(
        'id' => 'shout_id',
      ),
    ),
  );
}