function ContextDefinition::hasGetter

File

src/Context/ContextDefinition.php, line 168

Class

ContextDefinition
Extends the core context definition class with useful methods.

Namespace

Drupal\rules\Context

Code

public function hasGetter() {
    return !is_null($this->getter);
}