public function RulesConditionalEmptyUI::form in Conditional Rules 7
Same name and namespace in other branches
- 8 includes/rules_conditional.ui.inc \RulesConditionalEmptyUI::form()
Generates a table for editing the contained elements.
Overrides RulesContainerPluginUI::form
File
- includes/rules_conditional.ui.inc, line 40 
- Plugin UI implementation.
Class
- RulesConditionalEmptyUI
- Empty UI for doing nothing with the plugin.
Code
public function form(&$form, &$form_state, $options = array(), $iterator = NULL) {
  // Save element.
  $this->element
    ->save();
  // Redirect right away.
  $path = RulesPluginUI::defaultRedirect($this->element);
  drupal_goto($path);
}