public function FlagRulesDataWrapper::save in Flag 7.2
Same name and namespace in other branches
- 7.3 flag.rules.inc \FlagRulesDataWrapper::save()
Save the currently wrapped data.
Overrides RulesDataWrapperSavableInterface::save
File
- ./
flag.rules.inc, line 37 - Rules integration for the Flag module.
Class
- FlagRulesDataWrapper
- A custom wrapper class for flags to be used with Rules.
Code
public function save() {
$flag = $this
->value();
$flag
->save();
}