You are here

function crm_core_contact_handler_field_contact_revert::options_form in CRM Core 7

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

Overrides views_handler_field::options_form

File

modules/crm_core_contact/includes/views/handlers/crm_core_contact_handler_field_contact_revert.inc, line 25

Class

crm_core_contact_handler_field_contact_revert
Field handler to provide simple renderer that allows linking to a contact.

Code

function options_form(&$form, &$form_state) {
  $form['text'] = array(
    '#type' => 'textfield',
    '#title' => t('Text to display'),
    '#default_value' => $this->options['text'],
  );
  parent::options_form($form, $form_state);
}