function entity_delete_log_entity_info in Entity Delete Log 7
Implements hook_entity_info().
File
- ./
entity_delete_log.module, line 223 - Saves custom log entry to database when an entity is deleted.
Code
function entity_delete_log_entity_info() {
return array(
'entity_delete_log' => array(
'label' => t('Deleted entity'),
'entity class' => 'Entity',
'controller class' => 'EntityAPIController',
'base table' => 'entity_delete_log',
'fieldable' => TRUE,
'entity keys' => array(
'id' => 'entity_delete_log_id',
),
'views controller class' => 'EntityDefaultViewsController',
),
);
}