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