You are here

function rules_action_entity_save in Rules 7.2

Action: Save entities.

Related topics

1 string reference to 'rules_action_entity_save'
rules_entity_action_info in modules/entity.rules.inc
Implements hook_rules_action_info() on behalf of the entity module.

File

modules/entity.eval.inc, line 132
Contains rules integration for entities needed during evaluation.

Code

function rules_action_entity_save($wrapper, $immediate, $settings, $state, $element) {
  $state
    ->saveChanges($settings['data:select'], $wrapper, $immediate);
}