You are here

public function GroupContentTypeForm::validateForm in Group 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/Form/GroupContentTypeForm.php \Drupal\group\Entity\Form\GroupContentTypeForm::validateForm()

Form validation handler.

Parameters

array $form: An associative array containing the structure of the form.

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

Overrides FormBase::validateForm

File

src/Entity/Form/GroupContentTypeForm.php, line 118

Class

GroupContentTypeForm
Form controller for group content type forms.

Namespace

Drupal\group\Entity\Form

Code

public function validateForm(array &$form, FormStateInterface $form_state) {
  $plugin = $this
    ->getContentPlugin();
  $plugin
    ->validateConfigurationForm($form, $form_state);
}