public TypedData::getString()
Returns a string representation of the data.
Return value
string
Overrides TypedDataInterface::getString
File
- core/lib/Drupal/Core/TypedData/TypedData.php, line 115
Class
- TypedData
- The abstract base class for typed data.
Namespace
Drupal\Core\TypedData
Code
public function getString() { return (string) $this->getValue(); }
Please login to continue.