You are here

public function EntityContextDefinition::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/EntityContextDefinition.php, line 103

Class

EntityContextDefinition
Extends the core entity context definition class with useful methods.

Namespace

Drupal\rules\Context

Code

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