RouteSubscriber::getApplicableViews

protected RouteSubscriber::getApplicableViews()

Returns all views/display combinations with routes.

See also

\Drupal\views\Views::getApplicableViews()

File

core/modules/views/src/EventSubscriber/RouteSubscriber.php, line 171

Class

RouteSubscriber
Builds up the routes of all views.

Namespace

Drupal\views\EventSubscriber

Code

protected function getApplicableViews() {
  return Views::getApplicableViews('uses_route');
}
doc_Drupal
2016-10-29 09:39:27
Comments
Leave a Comment

Please login to continue.