Pantheon Decoupled

Recommended configuration for Decoupled sites on Pantheon. Can be used in combination with Pantheon's front end starter kits including:

https://github.com/pantheon-systems/next-drupal-starter

pantheon_decoupled

  • Installs recommended dependencies for a Decoupled Drupal backend including:
  • Configures an example preview site and oAuth consumer for use with Decoupled Preview.
  • Adds a 'Pantheon Front-End Sites' configuration page under 'Web Services' in the admin menu. This page allows you manage and test your front-end preview sites, and also provides in context links to useful documentation.

Note

  • The minimum-stability should be set to alpha in the project's root
    composer.json file.

pantheon_decoupled_example

pantheon_decoupled also includes a sub-module named
pantheon_decoupled_example. This module adds limited content integrations.
Enabling this module will also enable the media and media_library modules.
This will also add media fields (articles only) and enables pathauto for the
article and basic page content types.

Installation

Require using composer:

composer require drupal/pantheon_decoupled

Enable pantheon_decoupled and pantheon_decoupled_example using your preferred method.

Short name
pantheon_decoupled
Supporting organizations
Sponsored development