function RulesIdentifiableDataWrapper::getIdentifier

Returns the identifier of the wrapped data.

File

includes/rules.state.inc, line 724

Class

RulesIdentifiableDataWrapper
A wrapper class similar to the EntityDrupalWrapper, but for non-entities.

Code

public function getIdentifier() {
    return $this->dataAvailable() && $this->value() ? $this->id : NULL;
}