You are here

function views_arguments_extras_views_plugins in Views Arguments Extras 7

Same name and namespace in other branches
  1. 6 views_arguments_extras.module \views_arguments_extras_views_plugins()

File

./views_arguments_extras.module, line 13

Code

function views_arguments_extras_views_plugins() {
  $plugins = array(
    'argument default' => array(
      'field' => array(
        'title' => t('Field Value from Current Node/Term'),
        'handler' => 'views_plugin_argument_default_field',
        'parent' => 'node',
      ),
      'request_params' => array(
        'title' => t('Request Params (GET or PULL)'),
        'handler' => 'views_plugin_argument_default_request_params',
        'parent' => 'node',
      ),
    ),
    'argument validator' => array(
      'field_extractor' => array(
        'title' => t('Field Extractor'),
        'handler' => 'views_plugin_argument_validate_field_extractor',
      ),
    ),
  );
  return $plugins;
}