public function SerializedData::__toString in REST Views 8
Same name and namespace in other branches
- 2.0.x src/SerializedData.php \Drupal\rest_views\SerializedData::__toString()
Convert renderable object to a string.
This function needs to return a non-empty string in order to be processed correctly by Drupal's rendering system.
Return value
string A placeholder string representation.
File
- src/
SerializedData.php, line 53
Class
- SerializedData
- Wrapper for passing serialized data through render arrays.
Namespace
Drupal\rest_viewsCode
public function __toString() {
// This must not be empty.
return '[...]';
}