amazeelabs / silverback_preview_link
Decoupled preview with access token.
Installs: 1 251
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Type:drupal-module
Requires
- php: >=8.2
- chillerlan/php-qrcode: ^5
- drupal/dynamic_entity_reference: ^3 || ^4
README
Decoupled shareable preview with access token. Integrates with Silverback autosave.
This module is inspired by Preview Link but does not depend on it as the use case is different.
This module
- is suitable for a decoupled setup
- handles access based on GraphQL
- uses silverback_autosave to share instant preview updates
- integrates with the Gutenberg editor
Due to the decoupled nature, it does not cover additional logic brought by the Preview Link module:
- Most of the route subscribers
- Entity canonical access control handlers
- Route provider and Controller for preview links
- Event subscribers for node canonical redirect
- ...
Configuration
- Enable entity types and bundles
/admin/config/content/silverback_preview_link
- Optionally change the default expiry time that is set to 1 day