You are here

protected function FlagRulesDataWrapper::extractIdentifier in Flag 7.3

Same name and namespace in other branches
  1. 7.2 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 34
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;
}