public function ViewRevisionsRequest::getViewEntities in Config Entity Revisions 8
Same name and namespace in other branches
- 1.x modules/views_revisions/src/ViewsRevisionsRequest.php \Drupal\views_revisions\ViewRevisionsRequest::getViewEntities()
File
- modules/
views_revisions/ src/ ViewsRevisionsRequest.php, line 206
Class
- ViewRevisionsRequest
- Handles view requests.
Namespace
Drupal\views_revisionsCode
public function getViewEntities() {
$view = $this
->getCurrentView();
$source_entity = $this
->getCurrentSourceEntity('view');
return [
$view,
$source_entity,
];
}