service views.route_subscriber in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/views.services.yml \views.route_subscriber
- 9 core/modules/views/views.services.yml \views.route_subscriber
Class
Drupal\views\EventSubscriber\RouteSubscriberTags
- event_subscriber
2 string references to views.route_subscriber
- DisplayPageTest::testPageRouterItems in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ DisplayPageTest.php - Checks that the router items are properly registered.
- views_invalidate_cache in core/
modules/ views/ views.module - Invalidate the views cache, forcing a rebuild on the next grab of table data.
File
- core/
modules/ views/ views.services.yml - core/modules/views/views.services.yml
View source
- class: Drupal\views\EventSubscriber\RouteSubscriber
- arguments:
- - '@entity_type.manager'
- - '@state'
- tags:
- - { name: event_subscriber }