public function ViewRevisionsRequest::getCurrentViewSubmission in Config Entity Revisions 8
Same name and namespace in other branches
- 1.x modules/views_revisions/src/ViewsRevisionsRequest.php \Drupal\views_revisions\ViewRevisionsRequest::getCurrentViewSubmission()
File
- modules/
views_revisions/ src/ ViewsRevisionsRequest.php, line 194
Class
- ViewRevisionsRequest
- Handles view requests.
Namespace
Drupal\views_revisionsCode
public function getCurrentViewSubmission() {
$view_submission = $this->routeMatch
->getParameter('view_submission');
if (is_string($view_submission)) {
$view_submission = $this->entityTypeManager
->getStorage('view_submission')
->load($view_submission);
}
return $view_submission;
}