function shurly_entity_info in ShURLy 7
Implements hook_entity_info().
File
- ./shurly.module, line 1366 
- description http://www.youtube.com/watch?v=Qo7qoonzTCE
Code
function shurly_entity_info() {
  return array(
    'shurly_item' => array(
      'label' => t('Shurly URLs'),
      'fieldable' => TRUE,
      'base table' => 'shurly',
      'entity keys' => array(
        'id' => 'rid',
        'label' => 'destination',
      ),
    ),
  );
}