You are here

public function RenderableData::__construct in REST Views 8

Same name and namespace in other branches
  1. 2.0.x src/RenderableData.php \Drupal\rest_views\RenderableData::__construct()

RenderableData constructor.

Parameters

array $data: The render array.

File

src/RenderableData.php, line 25

Class

RenderableData
Wrapper for renderable data that will be rendered during normalization.

Namespace

Drupal\rest_views

Code

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