function flag_views_plugins in Flag 6.2
Same name and namespace in other branches
- 6 includes/flag.views.inc \flag_views_plugins()
- 7.3 includes/views/flag.views.inc \flag_views_plugins()
- 7.2 includes/flag.views.inc \flag_views_plugins()
Implements hook_views_plugins().
File
- includes/
flag.views.inc, line 45 - 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',
),
),
);
}