function views_data_export_plugin_display_export::get_option in Views data export 7.4
Same name and namespace in other branches
- 7.3 plugins/views_data_export_plugin_display_export.inc \views_data_export_plugin_display_export::get_option()
Intelligently get an option either from this or default display.
Overrides views_plugin_display::get_option
5 calls to views_data_export_plugin_display_export::get_option()
- views_data_export_plugin_display_export::execute_initial in plugins/
views_data_export_plugin_display_export.inc - Initializes the whole export process and starts off the batch process.
- views_data_export_plugin_display_export::is_batched in plugins/
views_data_export_plugin_display_export.inc - Determine if this view should run as a batch or not.
- views_data_export_plugin_display_export::options_form in plugins/
views_data_export_plugin_display_export.inc - Provide the default form for setting options.
- views_data_export_plugin_display_export::options_summary in plugins/
views_data_export_plugin_display_export.inc - Provide the summary for page options in the views UI.
- views_data_export_plugin_display_export::query in plugins/
views_data_export_plugin_display_export.inc - Trick views into thinking that we have executed the query and got results.
File
- plugins/
views_data_export_plugin_display_export.inc, line 168 - Contains the bulk export display plugin.
Class
- views_data_export_plugin_display_export
- The plugin that batches its rendering.
Code
function get_option($option) {
// Force people to never use caching with Views data export. Sorry folks,
// but it causes too many issues for our workflow. If you really want to add
// caching back, then you can subclass this display handler and override
// this method to add it back.
if ($option == 'cache') {
return array(
'type' => 'none',
);
}
return parent::get_option($option);
}