function NullValue::__construct

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Database/SchemaDefinition/NullValue.php \Drupal\Core\Database\SchemaDefinition\NullValue::__construct()

File

core/lib/Drupal/Core/Database/SchemaDefinition/NullValue.php, line 24

Class

NullValue
A class holding a null value.

Namespace

Drupal\Core\Database\SchemaDefinition

Code

public function __construct() {
  $this->name = 'null';
  $this->value = NULL;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.