1.20.x file.module file_config_info()

Implements hook_config_info().

File

modules/file/file.module, line 2236
Defines a "managed_file" Form API field and a "file" field for Field module.

Code

function file_config_info() {
  $prefixes['file.type'] = array(
    'name_key' => 'type',
    'label_key' => 'name',
    'group' => t('File types'),
  );
  $prefixes['file_display'] = array(
    'name_key' => 'type',
    'group' => t('File displays'),
  );
  $prefixes['file.settings'] = array(
    'label' => t('File settings'),
    'group' => t('Configuration'),
  );
  return $prefixes;
}