You are here

function location_handler_field_location_address::options_form in Location 7.5

Same name and namespace in other branches
  1. 6.3 handlers/location_handler_field_location_address.inc \location_handler_field_location_address::options_form()
  2. 7.3 handlers/location_handler_field_location_address.inc \location_handler_field_location_address::options_form()
  3. 7.4 handlers/location_handler_field_location_address.inc \location_handler_field_location_address::options_form()

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

Overrides views_handler_field::options_form

File

handlers/location_handler_field_location_address.inc, line 16
Field handler to display a complete address.

Class

location_handler_field_location_address
@file Field handler to display a complete address.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['hide'] = array(
    '#type' => 'checkboxes',
    '#title' => t('Hide fields from display'),
    '#options' => location_field_names(TRUE),
    '#default_value' => $this->options['hide'],
  );
}