Révision a5ba142b
Ajouté par Assos Assos il y a presque 6 ans
drupal7/sites/all/modules/rules/ui/ui.plugins.inc | ||
---|---|---|
17 | 17 |
$this->conditions = $this->rule->conditionContainer(); |
18 | 18 |
} |
19 | 19 |
|
20 |
public function form(&$form, &$form_state, $options = array()) { |
|
20 |
public function form(&$form, &$form_state, $options = array(), $iterator = NULL) {
|
|
21 | 21 |
$form_state['rules_element'] = $this->rule; |
22 | 22 |
$label = $this->element->label(); |
23 | 23 |
// Automatically add a counter to unlabelled rules. |
... | ... | |
84 | 84 |
*/ |
85 | 85 |
class RulesReactionRuleUI extends RulesRuleUI { |
86 | 86 |
|
87 |
public function form(&$form, &$form_state, $options = array()) { |
|
87 |
public function form(&$form, &$form_state, $options = array(), $iterator = NULL) {
|
|
88 | 88 |
$form['events'] = array( |
89 | 89 |
'#type' => 'container', |
90 | 90 |
'#weight' => -10, |
... | ... | |
193 | 193 |
*/ |
194 | 194 |
class RulesLoopUI extends RulesActionContainerUI { |
195 | 195 |
|
196 |
public function form(&$form, &$form_state, $options = array()) { |
|
196 |
public function form(&$form, &$form_state, $options = array(), $iterator = NULL) {
|
|
197 | 197 |
parent::form($form, $form_state, $options); |
198 | 198 |
$settings = $this->element->settings; |
199 | 199 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules