Pantheon Modules

Details on specific Drupal modules developed and maintained for the Pantheon Website Management Platform workflow.

Contributors: Eladio Abquina.

Discuss in our Forum Discuss in Slack

Pantheon maintains several modules to extend and integrate Drupal on our platform. Check out our Pantheon Community Slack channel to discuss these modules in real-time with Pantheon developers.

 Note

WordPress users should review Pantheon Plugins for details on WordPress plugins developed and maintained for the Pantheon workflow.

Advanced Page Cache

The Advanced Page Cache module attaches Drupal's cache metadata to a response so that Pantheon's Global CDN edge service can granularly clear new content as it is saved. The Global CDN can detect when underlying data changes, such as nodes and taxonomy terms, then clear pages containing that entity. For details, see this blog post.

Edge Personalization

The Edge Integrations Drupal module is a Software Development Kit (SDK) that allows users to personalize Drupal. This module uses configuration at the "edge" or the CDN to enable personalization options for Geolocation or Interests. This is done by using HTTP vary headers that tell the CDN to return cached variations of content based on values identified by the user browsing the site.

Generate Errors (Drupal 7)

Interface which allows you to generate various errors to test system behaviors like custom errors and server responses.

Login

Provides login integration between Drupal and the Pantheon Site Dashboard.

Search API Pantheon (Drupal)

This module is meant to simplify the usage of Search API and Search API Solr on Pantheon. Search API Solr provides the ability to connect to any Solr server by providing numerous configuration options. This module automatically sets the Solr connection options by extending the plugin from Search API Solr. The module also changes the connection information between Pantheon environments, eliminating the need to do extra work setting up Solr servers for each environment.

Apache Solr

This module facilitates and debugs communication between Drupal and Pantheon's Apache Solr service, indexing and searching site content. For more details, visit Pantheon Search.

Site Audit

Static site analysis is a service for Drupal sites that makes best practice recommendations on site configurations. These reports are found in the Site Dashboard under the Status tab and are accessible by site team members. For more details, visit Launch Check - Drupal Performance and Configuration Analysis.

Pantheon Module (Drupal 7)

This module provides general methods your site needs to access aspects of the internal Pantheon API. This is necessary for clearing caches from our reverse-proxy/edge cache, as well as provisioning new Solr cores and other features. It should always be enabled for all sites on Pantheon and should not cause adverse effects if you export the site locally or to another environment.

The code for the API module is available within our upstream repositories, in the modules/pantheon directory. The functionality of this module is provided in three parts: Apache Solr, Pantheon Platform API, and Login.

Pantheon Platform API (Drupal 7) (Drupal 7)

This module provides general methods your site needs to access aspects of the internal Pantheon API. This is necessary for clearing caches and other common workflows on the platform in Drupal 7.

The API module is not needed for Drupal 9.

 Note

It is not necessary to use the API module directly. Use Terminus to interact with your Pantheon site programmatically.