You are here

public function BundleFormAlter::formAlter in Organic groups 8

This is a helper for og_ui_form_alter().

Parameters

array $form: The form variable.

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

File

og_ui/src/BundleFormAlter.php, line 73

Class

BundleFormAlter
Helper for og_ui_form_alter().

Namespace

Drupal\og_ui

Code

public function formAlter(array &$form, FormStateInterface $form_state) {
  $this
    ->prepare($form, $form_state);
  $this
    ->addGroupType($form, $form_state);
  $this
    ->addGroupContent($form, $form_state);
}