You are here

public function RbViewsArgumentValidatorUI::form in Rules Bonus Pack 7

Implements RulesPluginUIInterface::form().

Overrides RulesRuleSetUI::form

File

./rb_views.module, line 212
Globally available functions for Rules' Views integration.

Class

RbViewsArgumentValidatorUI
Class defining the UI for the Views argument validator plugin.

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());
  $form['settings']['vars']['#access'] = FALSE;
}