function system_entity_info

Implements hook_entity_info().

File

modules/system/system.module, line 281

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,
    ),
  );
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.