You are here

public function SerializedData::__construct in REST Views 8

Same name and namespace in other branches
  1. 2.0.x 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_views

Code

public function __construct($data) {
  $this->data = $data;
}