public function views_php_handler_area::options_form in Views PHP 7
Same name and namespace in other branches
- 6 plugins/views/views_php_handler_area.inc \views_php_handler_area::options_form()
- 7.2 plugins/views/views_php_handler_area.inc \views_php_handler_area::options_form()
Implements views_handler#option_definition().
Overrides views_handler_area::options_form
File
- plugins/
views/ views_php_handler_area.inc, line 22
Class
- views_php_handler_area
- A handler to provide an area that is constructed by the administrator using PHP.
Code
public function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form += views_php_form_element($this, FALSE, array(
'php_output',
t('Output code'),
t('Code to construct the output of this area.'),
TRUE,
), array(
'$view',
'$handler',
'$results',
));
}