1.20.x layout_context.inc | LayoutContext::setData($data) |
Set the data for this context.
File
- modules/
layout/ plugins/ context/ layout_context.inc, line 217 - Class that holds information relating to a layouts context.
Class
- LayoutContext
- @file Class that holds information relating to a layouts context.
Code
function setData($data) {
$this->data = $data;
}