function views_php_plugin_cache::options_submit in Views PHP 7.2
Same name and namespace in other branches
- 7 plugins/views/views_php_plugin_cache.inc \views_php_plugin_cache::options_submit()
Implements views_plugin#options_submit()
Overrides views_plugin::options_submit
File
- plugins/
views/ views_php_plugin_cache.inc, line 49
Class
- views_php_plugin_cache
- Caching plugin that provides cache control based on custom PHP code.
Code
function options_submit(&$form, &$form_state) {
$form_state['values']['cache_options'] += $form_state['values']['options'];
}