function views_plugin_style_json::option_definition in Views Datasource 6
Same name and namespace in other branches
- 7 views/plugins/views_plugin_style_json.inc \views_plugin_style_json::option_definition()
Implementation of views_plugin_style::option_definition
File
- ./
views_plugin_style_json.inc, line 16 - Implementation of views_plugin_style for views_json
Class
- views_plugin_style_json
- Implementation of views_plugin_style
Code
function option_definition() {
$options = parent::option_definition();
$options['root_object'] = array(
'default' => 'nodes',
'translatable' => FALSE,
);
$options['top_child_object'] = array(
'default' => 'node',
'translatable' => FALSE,
);
$options['field_output'] = array(
'default' => 'normal',
'translatable' => FALSE,
);
$options['plaintext_output'] = array(
'default' => TRUE,
'translatable' => FALSE,
);
$options['format'] = array(
'default' => 'simple',
'translatable' => FALSE,
);
$options['jsonp_prefix'] = array(
'default' => NULL,
'translatable' => FALSE,
);
$options['content_type'] = array(
'default' => 'default',
'translatable' => FALSE,
);
$options['using_views_api_mode'] = array(
'default' => FALSE,
'translatable' => FALSE,
);
return $options;
}