public function WebformRulesSubmissionWrapper::getIdentifier in Webform Rules 7
Returns the identifier of the wrapped data.
Overrides RulesIdentifiableDataWrapper::getIdentifier
File
- ./
webform_rules.rules.inc, line 512 - Functions for rules integration.
Class
- WebformRulesSubmissionWrapper
- Provide entity-like access to webform submission data.
Code
public function getIdentifier() {
return $this
->dataAvailable() && $this
->value() ? $this->id : NULL;
}