function file_type_enable in File Entity (fieldable files) 7.3
Same name and namespace in other branches
- 7.2 file_entity.file_api.inc \file_type_enable()
Enable a file type.
Parameters
string $type: Type of the file_type to disable
Related topics
1 call to file_type_enable()
- file_entity_type_enable_confirm_submit in ./
file_entity.admin.inc - Process file type disable confirm submissions.
File
- ./
file_entity.file_api.inc, line 653 - API extensions of Drupal core's file.inc.
Code
function file_type_enable($type) {
ctools_include('export');
ctools_export_crud_enable('file_type', $type);
}