You are here

function views_php_plugin_cache::option_definition in Views PHP 6

Same name and namespace in other branches
  1. 7.2 plugins/views/views_php_plugin_cache.inc \views_php_plugin_cache::option_definition()
  2. 7 plugins/views/views_php_plugin_cache.inc \views_php_plugin_cache::option_definition()

Implements views_object#option_definition().

File

plugins/views/views_php_plugin_cache.inc, line 20

Class

views_php_plugin_cache
Caching plugin that provides cache control based on custom PHP code.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['php_cache_results'] = array(
    'default' => '',
  );
  $options['php_cache_output'] = array(
    'default' => '',
  );
  return $options;
}