public function RenderableData::__toString in REST Views 2.0.x
Same name and namespace in other branches
- 8 src/RenderableData.php \Drupal\rest_views\RenderableData::__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/
RenderableData.php, line 53
Class
- RenderableData
- Wrapper for renderable data that will be rendered during normalization.
Namespace
Drupal\rest_viewsCode
public function __toString() {
// This must not be empty.
return '[...]';
}