public function ProximityArgument::buildOptionsForm in Geolocation Field 8
Same name and namespace in other branches
- 8.3 src/Plugin/views/argument/ProximityArgument.php \Drupal\geolocation\Plugin\views\argument\ProximityArgument::buildOptionsForm()
- 8.2 src/Plugin/views/argument/ProximityArgument.php \Drupal\geolocation\Plugin\views\argument\ProximityArgument::buildOptionsForm()
Provide a form to edit options for this plugin.
Overrides ArgumentPluginBase::buildOptionsForm
File
- src/
Plugin/ views/ argument/ ProximityArgument.php, line 69
Class
- ProximityArgument
- Argument handler for geolocation proximity.
Namespace
Drupal\geolocation\Plugin\views\argumentCode
public function buildOptionsForm(&$form, FormStateInterface $form_state) {
parent::buildOptionsForm($form, $form_state);
$form['description']['#markup'] .= $this
->t('<br/> Proximity format should be in the following format: <strong>"37.7749295,-122.41941550000001<=5miles"</strong> (defaults to km).');
}