You are here

protected function TestRouteSubscriber::getApplicableViews in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php \Drupal\Tests\views\Unit\EventSubscriber\TestRouteSubscriber::getApplicableViews()

Returns all views/display combinations with routes.

Overrides RouteSubscriber::getApplicableViews

See also

\Drupal\views\Views::getApplicableViews()

File

core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php, line 213
Contains \Drupal\Tests\views\Unit\EventSubscriber\RouteSubscriberTest.

Class

TestRouteSubscriber
Provides a test route subscriber.

Namespace

Drupal\Tests\views\Unit\EventSubscriber

Code

protected function getApplicableViews() {
  return $this->applicableViews;
}