You are here

function views_json_views_arguments in Views Datasource 5

File

./views_json.module, line 37
views_json.module - provides Views plugin for rendering node content as JSON.

Code

function views_json_views_arguments() {
  $arguments = array(
    'json_simple' => array(
      'name' => t('Views JSON: Simple JSON data document selector'),
      'handler' => 'views_json_simple_views_handler',
      'option' => 'string',
      'help' => t('This argument specifies a document selector; it will only provide a method for rendering the current view as JSON.'),
    ),
    'json_exhibit' => array(
      'name' => t('Views JSON: MIT Simile/Exhibit JSON data document selector'),
      'handler' => 'views_json_exhibit_views_handler',
      'option' => 'string',
      'help' => t('This argument specifies a document selector; it will only provide a method for rendering the current view as JSON.'),
    ),
  );
  return $arguments;
}