public function WeatherDisplayPlaceForm::countryAjaxCallback in Weather 2.0.x
Same name and namespace in other branches
- 8 src/Form/WeatherDisplayPlaceForm.php \Drupal\weather\Form\WeatherDisplayPlaceForm::countryAjaxCallback()
AJAX callback for location settings form.
File
- src/
Form/ WeatherDisplayPlaceForm.php, line 306
Class
- WeatherDisplayPlaceForm
- Form controller for the weather_display_place entity edit forms.
Namespace
Drupal\weather\FormCode
public function countryAjaxCallback(array &$form, FormStateInterface $form_state) {
$ret['geoid'] = $form['geoid'];
$ret['displayed_name'] = $form['displayed_name'];
return $ret;
}