You are here

public function views_handler_area_text_custom::options_form in Views (for Drupal 7) 7.3

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

Overrides views_handler_area_text::options_form

File

handlers/views_handler_area_text_custom.inc, line 27
Definition of views_handler_area_text_custom.

Class

views_handler_area_text_custom
Views area text custom handler.

Code

public 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.
}