You are here

public function GlobalLinkTranslatorUi::filtersReplace in GlobalLink Connect for Drupal 8

Same name and namespace in other branches
  1. 8.2 src/GlobalLinkTranslatorUi.php \Drupal\globallink\GlobalLinkTranslatorUi::filtersReplace()

Returns the updated 'filters' fieldset for replacement by ajax.

Parameters

array $form: The updated form structure array.

FormStateInterface $form_state: The form state structure.

Return value

array The updated form component for the selected fields.

File

src/GlobalLinkTranslatorUi.php, line 349
Contains Drupal\globallink\GlobalLinkTranslatorUi.

Class

GlobalLinkTranslatorUi
GlobalLink translator UI.

Namespace

Drupal\globallink

Code

public function filtersReplace(array $form, FormStateInterface $form_state) {
  return $form['translator_wrapper']['settings']['filters_table'];
}