function party_rules_detach_entity in Party 7
Same name and namespace in other branches
- 8.2 party.rules.inc \party_rules_detach_entity()
Implement the detach entity rule
File
- ./
party.rules.inc, line 134 - Rules integration for party.
Code
function party_rules_detach_entity($party, $wrapper, $data_set_name, $settings, $state, $element) {
$entity = $wrapper
->value();
party_detach_entity($party, $entity, $data_set_name);
}