function hook_rules_link_presave in Rules Link 7
Same name and namespace in other branches
- 7.2 rules_link.api.php \hook_rules_link_presave()
Acts on a rules link being inserted or updated.
This hook is invoked before the rules link is saved to the database.
Parameters
RulesLink $rules_link: The rules link that is being inserted or updated.
See also
File
- ./
rules_link.api.php, line 59 - Hooks provided by this module.
Code
function hook_rules_link_presave(RulesLink $rules_link) {
$rules_link->name = 'foo';
}