Implements TypedDataInterface::setValue().
Overrides TypedData::setValue
File
- drupal/core/lib/Drupal/Core/TypedData/Type/String.php, line 30
- Definition of Drupal\Core\TypedData\Type\String.
Class
- String
- The string data type.
Namespace
Drupal\Core\TypedData\Type
Code
public function setValue($value) {
$this->value = isset($value) ? (string) $value : $value;
}