1 views_handler_area_text_custom.inc views_handler_area_text_custom::options_form(&$form, &$form_state)

Default options form that provides the label widget that all fields should have.

Overrides views_handler_area_text::options_form

File

core/modules/views/handlers/views_handler_area_text_custom.inc, line 21
Definition of views_handler_area_text_custom.

Class

views_handler_area_text_custom
Views area text custom handler.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);

  // Alter the form element, to be a regular text area.
  $form['content']['#type'] = 'textarea';
  unset($form['content']['#format']);
  unset($form['content']['#wysiwyg']);

  // @TODO: Use the token refactored base class.
}