You are here

public function ShareMessageForm::ajaxShareMessagePluginSelect in Share Message 8

Ajax callback to fetch the selected Share Message settings.

Parameters

array $form: A nested array form elements comprising the form.

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

File

src/Form/ShareMessageForm.php, line 360

Class

ShareMessageForm
Base form controller for Share Message edit forms.

Namespace

Drupal\sharemessage\Form

Code

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