Révision 9df8b457
Ajouté par Assos Assos il y a presque 9 ans
drupal7/sites/all/modules/views_bulk_operations/plugins/operation_types/rules_component.class.php | ||
---|---|---|
124 | 124 |
else { |
125 | 125 |
$element = rules_action('component_' . $this->operationInfo['parameters']['component_key']); |
126 | 126 |
} |
127 |
$element->execute($data); |
|
127 |
$wrapper_type = is_array($data) ? "list<{$this->entityType}>" : $this->entityType; |
|
128 |
$wrapper = entity_metadata_wrapper($wrapper_type, $data); |
|
129 |
$element->execute($wrapper); |
|
128 | 130 |
} |
129 | 131 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules