function ContextDefinition::setAllowNull

Overrides ContextDefinitionInterface::setAllowNull

File

src/Context/ContextDefinition.php, line 189

Class

ContextDefinition
Extends the core context definition class with useful methods.

Namespace

Drupal\rules\Context

Code

public function setAllowNull($null_allowed) {
    $this->allowNull = $null_allowed;
    return $this;
}