You are here

protected function WebformRulesSubmissionWrapper::extractIdentifier in Webform Rules 7

Extract the identifier of the given data object.

Return value

The extracted identifier.

Overrides RulesIdentifiableDataWrapper::extractIdentifier

File

./webform_rules.rules.inc, line 508
Functions for rules integration.

Class

WebformRulesSubmissionWrapper
Provide entity-like access to webform submission data.

Code

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