function asset_views_plugins in Asset 7
Implements hook_views_plugins().
File
- views/
asset.views.inc, line 38 - Views module integration.
Code
function asset_views_plugins() {
return array(
'module' => 'asset',
'row' => array(
'asset' => array(
'title' => t('Rendered asset'),
'help' => t('Renders an asset in a specific view mode.'),
'handler' => 'asset_views_plugin_row_asset_view',
'uses fields' => FALSE,
'uses options' => TRUE,
'type' => 'normal',
'base' => array(
'asset',
),
),
),
'access' => array(
'asset_insert_in_wysiwyg' => array(
'title' => t('Access to search & insert assets'),
'help' => t('Check several permissions to access to search assets and insert into WYSIWYG.'),
'handler' => 'asset_views_plugin_access_asset_insert_in_wysiwyg',
'uses options' => FALSE,
),
),
);
}