You are here

public static function TranslatorForm::ajaxTranslatorPluginSelect in Translation Management Tool 8

Ajax callback for loading the translator plugin settings form for the currently selected translator plugin.

File

src/Form/TranslatorForm.php, line 267

Class

TranslatorForm
Form controller for the translator edit forms.

Namespace

Drupal\tmgmt\Form

Code

public static function ajaxTranslatorPluginSelect(array $form, FormStateInterface $form_state) {
  return $form['plugin_wrapper'];
}