View::applyGlobals()
Checks if globals should be included in a JSON Fiber request. They are normally only loaded with the full document request, but sometimes need to be updated.
Parameters
Name | Type | Default |
---|---|---|
$data * | array |
– |
$globals | string |null |
null |
Return type
array