function StringValue::__construct
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Database/SchemaDefinition/StringValue.php \Drupal\Core\Database\SchemaDefinition\StringValue::__construct()
File
-
core/
lib/ Drupal/ Core/ Database/ SchemaDefinition/ StringValue.php, line 17
Class
- StringValue
- A class holding a string value.
Namespace
Drupal\Core\Database\SchemaDefinitionCode
public function __construct(public readonly string $value) {
$this->name = 'string';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.