preview_link.routing.yml in Preview Link 2.0.x
Same filename and directory in other branches
3 string references to YAML keys in preview_link.routing.yml
- PreviewLinkRouteEventSubscriber::onException in src/
EventSubscriber/ PreviewLinkRouteEventSubscriber.php - Redirects from canonical routes to preview link route.
- PreviewLinkSessionTokenTest::testSessionToken in tests/
src/ Functional/ PreviewLinkSessionTokenTest.php - Tests session token unlocks multiple entities.
- PreviewLinkSessionTokenTest::testSessionTokenReclaimAttempt in tests/
src/ Functional/ PreviewLinkSessionTokenTest.php - Tests trying to claim a token multiple times.
File
preview_link.routing.ymlView source
- preview_link.session_tokens.remove:
- path: '/preview-link/session-tokens/remove'
- defaults:
- _controller: '\Drupal\preview_link\Controller\PreviewLinkSessionTokenController::removeTokens'
- _title: 'Remove all Preview Link session tokens'
- requirements:
- _access_preview_session_exists: 'TRUE'