You are here

public function WeatherDisplayPlaceForm::placeAjaxCallback in Weather 2.0.x

Same name and namespace in other branches
  1. 8 src/Form/WeatherDisplayPlaceForm.php \Drupal\weather\Form\WeatherDisplayPlaceForm::placeAjaxCallback()

AJAX callback for location settings form.

File

src/Form/WeatherDisplayPlaceForm.php, line 316

Class

WeatherDisplayPlaceForm
Form controller for the weather_display_place entity edit forms.

Namespace

Drupal\weather\Form

Code

public function placeAjaxCallback($form, $form_state) {
  return $form['displayed_name'];
}