You are here

public function ContextDefinition::isAllowedNull in Rules 8.3

Determines if the context value is allowed to be NULL.

Return value

bool TRUE if NULL values are allowed, FALSE otherwise.

Overrides ContextDefinitionInterface::isAllowedNull

File

src/Context/ContextDefinition.php, line 158

Class

ContextDefinition
Extends the core context definition class with useful methods.

Namespace

Drupal\rules\Context

Code

public function isAllowedNull() {
  return $this->allowNull;
}