You are here

public function RulesPluginHandlerBase::form_alter in Rules 7.2

Alters the generated configuration form of the element.

Validation and processing of the settings should be untied from the form and implemented in validate() and process() wherever it makes sense. For the remaining cases where form tied validation and processing is needed make use of the form API #element_validate and #value_callback properties.

Overrides RulesPluginHandlerInterface::form_alter

File

includes/rules.core.inc, line 2139
Rules base classes and interfaces needed for any rule evaluation.

Class

RulesPluginHandlerBase
Base class for implementing abstract plugins via classes.

Code

public function form_alter(&$form, $form_state, $options) {
}