function taxonomy_views_plugins

Same name in other branches
  1. 6.x-3.x modules/taxonomy.views.inc \taxonomy_views_plugins()

Implements hook_views_plugins().

File

modules/taxonomy.views.inc, line 504

Code

function taxonomy_views_plugins() {
    return array(
        // This just tells our themes are elsewhere.
'module' => 'views',
        'argument validator' => array(
            'taxonomy_term' => array(
                'title' => t('Taxonomy term'),
                'handler' => 'views_plugin_argument_validate_taxonomy_term',
                'path' => drupal_get_path('module', 'views') . '/modules/taxonomy',
            ),
        ),
        'argument default' => array(
            'taxonomy_tid' => array(
                'title' => t('Taxonomy term ID from URL'),
                'handler' => 'views_plugin_argument_default_taxonomy_tid',
                'path' => drupal_get_path('module', 'views') . '/modules/taxonomy',
                'parent' => 'fixed',
            ),
        ),
    );
}