View::data()
Creates the shared data array for the individual views The full shared data is always sent on every JSON and full document request unless the X-Fiber-Only header or the _only query parameter is set.
View::data(array $view = [ ], array $options = [ ]): array
Parameters
| Name | Type | Default | 
|---|---|---|
| $view | array | 
                [ ] | 
        
              
| $options | array | 
                [ ] | 
        
              
Return type
array