function ContextDefinitionInterface::isAllowedNull

Determines if the context value is allowed to be NULL.

Return value

bool TRUE if NULL values are allowed, FALSE otherwise.

2 methods override ContextDefinitionInterface::isAllowedNull()
ContextDefinition::isAllowedNull in src/Context/ContextDefinition.php
Determines if the context value is allowed to be NULL.
EntityContextDefinition::isAllowedNull in src/Context/EntityContextDefinition.php
Determines if the context value is allowed to be NULL.

File

src/Context/ContextDefinitionInterface.php, line 29

Class

ContextDefinitionInterface
Context definition information required by Rules.

Namespace

Drupal\rules\Context

Code

public function isAllowedNull();