function hook_ctools_plugin_api in File Entity (fieldable files) 7.2
Same name and namespace in other branches
- 7.3 file_entity.api.php \hook_ctools_plugin_api()
Declare that your module provides default file types.
Your module may already implement this hook for other CTools plugin types. If so, copy the body of this function into the existing hook.
1 function implements hook_ctools_plugin_api()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- file_entity_ctools_plugin_api in ./
file_entity.module - Implements hook_ctools_plugin_api().
File
- ./
file_entity.api.php, line 14 - Hooks provided by the File Entity module.
Code
function hook_ctools_plugin_api($owner, $api) {
if ($owner == 'file_entity' && $api == 'file_type') {
return array(
'version' => 1,
);
}
}