public function SerializedData::__construct in REST Views 2.0.x
Same name and namespace in other branches
- 8 src/SerializedData.php \Drupal\rest_views\SerializedData::__construct()
SerializedData constructor.
Parameters
mixed $data: The wrapped data.
File
- src/
SerializedData.php, line 25
Class
- SerializedData
- Wrapper for passing serialized data through render arrays.
Namespace
Drupal\rest_viewsCode
public function __construct($data) {
$this->data = $data;
}