You are here

public function GeolocationSettings::addLibrariesCallback in Geolocation Field 8

Ajax callback to add new field.

File

src/Form/GeolocationSettings.php, line 149

Class

GeolocationSettings
Implements the GeolocationGoogleMapAPIkey form controller.

Namespace

Drupal\geolocation\Form

Code

public function addLibrariesCallback(array &$form, FormStateInterface &$form_state) {
  return $form['parameters']['libraries'];
}