cache_test.routing.yml

Same filename and directory in other branches
  1. 9 core/modules/system/tests/modules/cache_test/cache_test.routing.yml
  2. 10 core/modules/system/tests/modules/cache_test/cache_test.routing.yml
  3. 11.x core/modules/system/tests/modules/cache_test/cache_test.routing.yml
core/modules/system/tests/modules/cache_test/cache_test.routing.yml
2 string references to YAML keys in cache_test.routing.yml
EntityBundleListCacheTest::testBundleListingCache in core/tests/Drupal/FunctionalTests/Entity/EntityBundleListCacheTest.php
Tests that tags are invalidated when an entity with that bundle changes.
UrlBubbleableMetadataBubblingTest::testUrlBubbleableMetadataBubbling in core/modules/system/tests/src/Functional/Render/UrlBubbleableMetadataBubblingTest.php
Tests that URL bubbleable metadata is correctly bubbled.

File

core/modules/system/tests/modules/cache_test/cache_test.routing.yml

View source
  1. cache_test.url_bubbling:
  2. path: '/cache-test/url-bubbling'
  3. defaults:
  4. _controller: '\Drupal\cache_test\Controller\CacheTestController::urlBubbling'
  5. requirements:
  6. _access: 'TRUE'
  7. cache_test_list.bundle_tags:
  8. path: '/cache-test-list/{entity_type_id}/{bundle}'
  9. defaults:
  10. _controller: '\Drupal\cache_test\Controller\CacheTestController::bundleTags'
  11. requirements:
  12. _access: 'TRUE'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.