function 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'
Custom::buildOptionsForm in drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/Custom.php
Default options form that provides the label widget that all fields should have.

File

drupal/core/modules/views/views.module, line 2126
Primarily Drupal hooks and global API functions to manipulate views.

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;
}