protected function TestRouteSubscriber::getApplicableViews in Drupal 9
Same name and namespace in other branches
- 8 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\EventSubscriberCode
protected function getApplicableViews() {
return $this->applicableViews;
}