function views_handler_field_custom_pre_render_move_text

3.x views_handler_field_custom.inc views_handler_field_custom_pre_render_move_text($form)

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 that provides the label widget that all fields should have.

File

handlers/views_handler_field_custom.inc, line 48
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;
}