function ContextDefinition::isAllowedNull

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 182

Class

ContextDefinition
Extends the core context definition class with useful methods.

Namespace

Drupal\rules\Context

Code

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