function editor_note_entity_info in Editor Notes 7
Implements hook_entity_info().
File
- ./
editor_note.module, line 152 - Main functionality for Editor Notes module.
Code
function editor_note_entity_info() {
$entity = array(
'editor_note' => array(
'label' => t('Editor Note'),
'entity class' => 'Entity',
'controller class' => 'EntityAPIController',
'views controller class' => 'EntityDefaultViewsController',
'base table' => 'editor_note',
'fieldable' => FALSE,
'entity keys' => array(
'id' => 'id',
),
'module' => 'editor_note',
),
);
return $entity;
}