public function geofieldProximityOtherGeofield::options_validate in Geofield 7.2
Overrides geofieldProximityBase::options_validate
File
- views/
proximity_plugins/ geofieldProximityOtherGeofield.inc, line 38 - Contains geofieldProximityOtherGeofield.
Class
- geofieldProximityOtherGeofield
- @file Contains geofieldProximityOtherGeofield.
Code
public function options_validate(&$form, &$form_state, $views_plugin) {
if ($form_state['values']['options']['geofield_proximity_other_geofield'] == '') {
form_set_error('options][geofield_proximity_other_geofield', t('Please select a geofield.'));
}
}