You are here

public function BatchedRuleSetUI::form in Rules Bonus Pack 7

Implements RulesPluginUIInterface::form().

Overrides RulesRuleSetUI::form

File

rb_batch/rb_batch.rules.inc, line 61
Provides a batched rule set component to rules.

Class

BatchedRuleSetUI
Class defining the UI for the batched rules plugin. Here is not much to do so far, but implementation is needed.

Code

public function form(&$form, &$form_state, $options = array(), $iterator = NULL) {

  // Pass an iterator just iterating over the rules, thus no further child
  // elements will be displayed.
  parent::form($form, $form_state, $options, $this->element
    ->getIterator());
}