You are here

public function RulesPluginHandlerInterface::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.

1 method overrides RulesPluginHandlerInterface::form_alter()
RulesPluginHandlerBase::form_alter in includes/rules.core.inc
Alters the generated configuration form of the element.

File

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

Class

RulesPluginHandlerInterface
Provides the base interface for implementing abstract plugins via classes.

Code

public function form_alter(&$form, $form_state, $options);