You are here

function views_php_plugin_access::options_submit in Views PHP 7.2

Same name and namespace in other branches
  1. 7 plugins/views/views_php_plugin_access.inc \views_php_plugin_access::options_submit()

Implements views_plugin#options_submit().

Overrides views_plugin_access::options_submit

File

plugins/views/views_php_plugin_access.inc, line 47

Class

views_php_plugin_access
Access plugin that provides access control based on custom PHP code.

Code

function options_submit(&$form, &$form_state) {
  $form_state['values']['access_options']['php_access'] = $form_state['values']['options']['php_access'];
}