You are here

function file_entity_file_metadata_info in File Entity (fieldable files) 8.2

Same name and namespace in other branches
  1. 7.3 file_entity.file.inc \file_entity_file_metadata_info()
  2. 7.2 file_entity.file.inc \file_entity_file_metadata_info()

Implements hook_file_metadata_info().

File

./file_entity.file.inc, line 28
File hooks implemented by the File entity module.

Code

function file_entity_file_metadata_info() {
  $info['width'] = array(
    'label' => t('Width'),
    'type' => 'integer',
  );
  $info['height'] = array(
    'label' => t('Height'),
    'type' => 'integer',
  );
  return $info;
}