function flag_views_plugins in Flag 7.3
Same name and namespace in other branches
- 6.2 includes/flag.views.inc \flag_views_plugins()
- 6 includes/flag.views.inc \flag_views_plugins()
- 7.2 includes/flag.views.inc \flag_views_plugins()
Implements hook_views_plugins().
File
- includes/
views/ flag.views.inc, line 11 - Provides support for the Views module.
Code
function flag_views_plugins() {
return array(
'argument validator' => array(
'flag_flaggable_node' => array(
'title' => t('Flaggable node'),
'flag type' => 'node',
'handler' => 'flag_plugin_argument_validate_flaggability',
'path' => drupal_get_path('module', 'flag') . '/includes',
),
'flag_flaggable_user' => array(
'title' => t('Flaggable user'),
'flag type' => 'user',
'handler' => 'flag_plugin_argument_validate_flaggability',
'path' => drupal_get_path('module', 'flag') . '/includes',
),
),
);
}