You are here

function country_field_field_views_data in Country Field 7

Implements hook_field_views_data().

File

views/country_field.views.inc, line 11
Contains Views functionality.

Code

function country_field_field_views_data($field) {
  $data = field_views_field_default_views_data($field);
  foreach ($data as $table => $info) {
    $data[$table][$field['field_name'] . '_value']['filter'] = array(
      'handler' => 'views_handler_filter_country_field',
    );
  }
  return $data;
}