function views_handler_field_custom_pre_render_move_text in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 8.3 views.module \views_handler_field_custom_pre_render_move_text()
Prerender function to move the textarea to the top.
1 string reference to 'views_handler_field_custom_pre_render_move_text'
- views_handler_field_custom::options_form in handlers/
views_handler_field_custom.inc - Default options form provides the label widget that all fields should have.
File
- handlers/
views_handler_field_custom.inc, line 62 - Definition of views_handler_field_custom.
Code
function views_handler_field_custom_pre_render_move_text($form) {
$form['text'] = $form['alter']['text'];
$form['help'] = $form['alter']['help'];
unset($form['alter']['text']);
unset($form['alter']['help']);
return $form;
}