protected function FlagRulesDataWrapper::extractIdentifier in Flag 7.2
Same name and namespace in other branches
- 7.3 flag.rules.inc \FlagRulesDataWrapper::extractIdentifier()
Extract the identifier of the given data object.
Return value
The extracted identifier.
Overrides RulesIdentifiableDataWrapper::extractIdentifier
File
- ./
flag.rules.inc, line 29 - Rules integration for the Flag module.
Class
- FlagRulesDataWrapper
- A custom wrapper class for flags to be used with Rules.
Code
protected function extractIdentifier($flag) {
return $flag->name;
}