function system_entity_info in Drupal 7
Implements hook_entity_info().
File
- modules/
system/ system.module, line 276 - Configuration system that lets administrators modify the workings of the site.
Code
function system_entity_info() {
return array(
'file' => array(
'label' => t('File'),
'base table' => 'file_managed',
'entity keys' => array(
'id' => 'fid',
'label' => 'filename',
),
'static cache' => FALSE,
),
);
}