You are here

protected function RulesTestTypeWrapper::extractIdentifier in Rules 7.2

Overrides RulesIdentifiableDataWrapper::extractIdentifier().

Overrides RulesIdentifiableDataWrapper::extractIdentifier

File

tests/rules_test.rules.inc, line 301
Includes any rules integration provided by the module.

Class

RulesTestTypeWrapper
The custom wrapper class for the rules test type.

Code

protected function extractIdentifier($data) {
  return $data->nid;
}