You are here

public function BusinessRulesItemPluginBase::validateForm in Business Rules 2.x

Same name and namespace in other branches
  1. 8 src/Plugin/BusinessRulesItemPluginBase.php \Drupal\business_rules\Plugin\BusinessRulesItemPluginBase::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.

Overrides BusinessRulesItemPluginInterface::validateForm

11 methods override BusinessRulesItemPluginBase::validateForm()
AddUserToGroupAction::validateForm in modules/br_group/src/Plugin/BusinessRulesAction/AddUserToGroupAction.php
Plugin form validator.
AssignRoleToUserAction::validateForm in modules/br_group/src/Plugin/BusinessRulesAction/AssignRoleToUserAction.php
Plugin form validator.
ChangeFieldInfo::validateForm in src/Plugin/BusinessRulesAction/ChangeFieldInfo.php
Plugin form validator.
ChangeFormDisplay::validateForm in src/Plugin/BusinessRulesAction/ChangeFormDisplay.php
Plugin form validator.
DataComparison::validateForm in src/Plugin/BusinessRulesCondition/DataComparison.php
Performs the form validation.

... See full list

File

src/Plugin/BusinessRulesItemPluginBase.php, line 236

Class

BusinessRulesItemPluginBase
Base Class for Business rules plugins.

Namespace

Drupal\business_rules\Plugin

Code

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