function views_handler_field_node_no_register_access::options_form in Node registration 7
Default options form provides the label widget that all fields should have.
Overrides views_handler_field::options_form
File
- includes/
views/ views_handler_field_node_no_register_access.inc, line 22
Class
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
// Remove the checkbox
$form['alter']['#collapsed'] = FALSE;
unset($form['alter']['alter_text']);
unset($form['alter']['text']['#dependency']);
unset($form['alter']['text']['#process']);
unset($form['alter']['help']['#dependency']);
unset($form['alter']['help']['#process']);
$form['#pre_render'][] = 'views_handler_field_custom_pre_render_move_text';
}