Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.
Decoupled Preview

Preview Drupal content on your decoupled front end site.

For a full description of the module, visit the
project page.

Submit bug reports and feature suggestions, or track changes in the
issue queue.

Features

  • Preview published content.
  • Preview while editing a node.
  • Preview revisions.
  • Configure multiple preview sites.
  • Specify the content types that each preview site applies to.
  • Specify an OAuth consumer related to a preview site.

Requirements

This module requires the following modules:

Installation

Require using composer:

composer require drupal/decoupled_preview

Install as you would normally install a contributed Drupal module. For further
information, see
Installing Drupal Modules.

Configuration

This module requires a patch to the Decoupled Router module. If you install this module with composer, allow patches to be applied from dependencies and require cweagans/composer-patches in the root of the project composer.json file. The patch will be applied automatically.

Navigate to Structure -> Preview Sites (/admin/structure/dp-preview-site), add
one or more preview sites, and configure the following:

  • Label: The name of the site.
  • Preview URL: The URL of the decoupled site you are providing preview data to.
  • Preview Secret: A token that will be passed to your decoupled site used to
    limit access to the preview.
  • Preview Type: The type of preview site - currently only Next.js is supported.
  • Content Types: The content types that this preview site applies to.

Preview Types

While we hope to expand in the future, the initial release of this module only
supports Next.js. It was developed in support of Pantheon's Next Drupal Starter, but can be applied to other
Next.js sites using a similar approach.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
7
Tracked since
Jan 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
1.0.0-beta5 Pre-release Dec 4, 2023
1.0.0-beta4 Pre-release Nov 16, 2023
1.0.0-beta3 Pre-release Oct 16, 2023
1.0.0-beta2 Pre-release Jul 10, 2023
1.0.0-beta1 Pre-release Jul 3, 2023
1.0.0-alpha6 Pre-release Jan 18, 2023
1.0.0-alpha5 Pre-release Jan 17, 2023