public function views_php_handler_field::option_definition in Views PHP 7
Same name and namespace in other branches
- 6 plugins/views/views_php_handler_field.inc \views_php_handler_field::option_definition()
- 7.2 plugins/views/views_php_handler_field.inc \views_php_handler_field::option_definition()
Implements views_object#option_definition().
Overrides views_handler_field::option_definition
File
- plugins/
views/ views_php_handler_field.inc, line 22
Class
- views_php_handler_field
- A handler to provide a field that is constructed by the administrator using PHP.
Code
public function option_definition() {
$options = parent::option_definition();
$options['use_php_setup'] = array(
'default' => FALSE,
);
$options['php_setup'] = array(
'default' => '',
);
$options['php_value'] = array(
'default' => '',
);
$options['php_output'] = array(
'default' => '',
);
$options['use_php_click_sortable'] = array(
'default' => self::CLICK_SORT_DISABLED,
);
$options['php_click_sortable'] = array(
'default' => FALSE,
);
return $options;
}