function views_handler_field_custom::options_form
Same name in other branches
- 7.x-3.x handlers/views_handler_field_custom.inc \views_handler_field_custom::options_form()
Overrides views_handler_field::options_form
File
-
handlers/
views_handler_field_custom.inc, line 22
Class
- views_handler_field_custom
- A handler to provide a field that is completely custom by the administrator.
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
// Remove the checkbox
unset($form['alter']['alter_text']);
unset($form['alter']['text']['#dependency']);
unset($form['alter']['text']['#process']);
}