public function PrimitiveInterface::setValue in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/TypedData/PrimitiveInterface.php \Drupal\Core\TypedData\PrimitiveInterface::setValue()
Sets the primitive data value.
Parameters
mixed|null $value: The value to set in the format as documented for the data type or NULL to unset the data value.
File
- core/
lib/ Drupal/ Core/ TypedData/ PrimitiveInterface.php, line 31 - Contains \Drupal\Core\TypedData\PrimitiveInterface.
Class
- PrimitiveInterface
- Interface for primitive data.
Namespace
Drupal\Core\TypedDataCode
public function setValue($value);