public function FlagRulesDataWrapper::save in Flag 7.3
Same name and namespace in other branches
- 7.2 flag.rules.inc \FlagRulesDataWrapper::save()
Save the currently wrapped data.
Overrides RulesDataWrapperSavableInterface::save
File
- ./
flag.rules.inc, line 42 - 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();
}