function file_entity_views_plugins in File Entity (fieldable files) 7
Same name and namespace in other branches
- 7.3 file_entity.views.inc \file_entity_views_plugins()
- 7.2 file_entity.views.inc \file_entity_views_plugins()
Implements hook_views_plugins().
File
- ./
file_entity.views.inc, line 37 - Views integration for the file_entity module.
Code
function file_entity_views_plugins() {
return array(
'module' => 'views',
// This just tells our themes are elsewhere.
'row' => array(
'file' => array(
'title' => t('File'),
'help' => t('Display the file with standard file view.'),
'handler' => 'views_plugin_row_file_view',
'base' => array(
'file_managed',
),
// only works with 'file' as base.
'uses options' => TRUE,
'type' => 'normal',
'help topic' => 'style-file',
),
),
);
}