public function WeatherDisplayPlaceForm::countryAjaxCallback in Weather 8
Same name and namespace in other branches
- 2.0.x src/Form/WeatherDisplayPlaceForm.php \Drupal\weather\Form\WeatherDisplayPlaceForm::countryAjaxCallback()
AJAX callback for location settings form.
File
- src/
Form/ WeatherDisplayPlaceForm.php, line 293
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;
}