You are here

public function WeatherDisplayPlaceForm::placeAjaxCallback in Weather 8

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

AJAX callback for location settings form.

File

src/Form/WeatherDisplayPlaceForm.php, line 303

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'];
}