You are here

function views_handler_filter_countries_list::option_definition in Countries 8

Same name and namespace in other branches
  1. 7.2 views/views_handler_filter_countries_list.inc \views_handler_filter_countries_list::option_definition()

File

views/views_handler_filter_countries_list.inc, line 14
Views module filter handler class.

Class

views_handler_filter_countries_list
Filter by ISO Code 2.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['configuration'] = array(
    'default' => COUNTRIES_VIEWS_WIDGET_FIELD,
  );
  $options['filter']['enabled'] = array(
    'default' => COUNTRIES_ENABLED,
  );
  $options['filter']['continents'] = array(
    'default' => array(),
  );
  return $options;
}