summaryrefslogtreecommitdiff
path: root/modules/system/system.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.module')
-rw-r--r--modules/system/system.module16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index a4c0a600d..2e5101677 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -267,6 +267,22 @@ function system_rdf_namespaces() {
}
/**
+ * Implement hook_entity_info().
+ */
+function system_entity_info() {
+ return array(
+ 'file' => array(
+ 'label' => t('File'),
+ 'base table' => 'file',
+ 'object keys' => array(
+ 'id' => 'fid',
+ ),
+ 'static cache' => FALSE,
+ ),
+ );
+}
+
+/**
* Implement hook_elements().
*/
function system_elements() {