public function GroupContentTypeForm::validateForm in Group 2.0.x
Same name and namespace in other branches
- 8 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\FormCode
public function validateForm(array &$form, FormStateInterface $form_state) {
$plugin = $this
->getRelationPlugin();
$plugin
->validateConfigurationForm($form, $form_state);
}