You are here

public function KeyFormBase::ajaxUpdateSettings in Key 8

AJAX callback to update the dynamic settings on the form.

Parameters

array $form: The form.

\Drupal\Core\Form\FormStateInterface $form_state: The form state.

Return value

array The element to update in the form.

File

src/Form/KeyFormBase.php, line 347

Class

KeyFormBase
Base form for key add and edit forms.

Namespace

Drupal\key\Form

Code

public function ajaxUpdateSettings(array &$form, FormStateInterface $form_state) {
  return $form['settings'];
}