You are here

public function BundleFormAlter::ajaxCallback in Organic groups 8

AJAX callback displaying the target bundles select box.

File

og_ui/src/BundleFormAlter.php, line 82

Class

BundleFormAlter
Helper for og_ui_form_alter().

Namespace

Drupal\og_ui

Code

public function ajaxCallback(array $form, FormStateInterface $form_state) {
  return $form['og']['og_target_bundles'];
}