You are here

public function BusinessRulesItemPluginInterface::validateForm in Business Rules 8

Same name and namespace in other branches
  1. 2.x src/Plugin/BusinessRulesItemPluginInterface.php \Drupal\business_rules\Plugin\BusinessRulesItemPluginInterface::validateForm()

Plugin form validator.

If the plugin needs to perform a form validation, override this function.

Parameters

array $form: The form array.

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

1 method overrides BusinessRulesItemPluginInterface::validateForm()
BusinessRulesItemPluginBase::validateForm in src/Plugin/BusinessRulesItemPluginBase.php
Plugin form validator.

File

src/Plugin/BusinessRulesItemPluginInterface.php, line 165

Class

BusinessRulesItemPluginInterface
Interface BusinessRulesItemInterface.

Namespace

Drupal\business_rules\Plugin

Code

public function validateForm(array &$form, FormStateInterface $form_state);