function file_entity_ctools_plugin_api in File Entity (fieldable files) 7.3
Same name and namespace in other branches
- 7.2 file_entity.module \file_entity_ctools_plugin_api()
Implements hook_ctools_plugin_api().
File
- ./
file_entity.module, line 1689 - Extends Drupal file entities to be fieldable and viewable.
Code
function file_entity_ctools_plugin_api($module, $api) {
if ($module == 'file_entity' && $api == 'file_type' || $module == 'page_manager' && $api == 'pages_default' || $module == 'panelizer') {
return array(
'version' => 1,
);
}
if ($module == 'file_entity' && $api == 'file_default_displays') {
return array(
'version' => 1,
);
}
}