You are here

function location_handler_sort_location_country::extra_options_form in Location 6.3

Same name and namespace in other branches
  1. 7.3 handlers/location_handler_sort_location_country.inc \location_handler_sort_location_country::extra_options_form()

File

handlers/location_handler_sort_location_country.inc, line 15

Class

location_handler_sort_location_country

Code

function extra_options_form(&$form, &$form_state) {

  //drupal_set_message('location_handler_sort_location_country inside extra_options_form');
  $form['country_sort'] = array(
    '#type' => 'radios',
    '#title' => t('Name or Code'),
    '#options' => array(
      'name' => t("Use the County Name (as specified by the database)."),
      'code' => t("Use the ISO3166 two letter country code ."),
    ),
    '#description' => t("This sets how country will be sorted, either by Name or the ISO 3166 2 letter code"),
    '#default_value' => $this->options['country_sort'],
  );
}