Install the Drupal module

Integration

Connect your Drupal site to PillarShield to enable content governance checks at the save/publish boundary. This guide covers installation via Composer and initial configuration.

Prerequisites

  • Drupal 10 or 11 is required.
  • The Key module is strongly recommended for managing your API key securely.
  • Composer access to your project root.

Installation

Step 01
Require
Run the composer command in your project root:
composer require drupal/pillarshield
Step 02
Enable
Enable the module via Drush or the UI:
drush en pillarshield
Step 03
Configure
Add your API key:
/admin/config/content/pillarshield
Step 04
Verify
Use the "Test Connection" button to verify access.

Working locally with DDEV?

If you are running your project in DDEV, maximize compatibility by running composer commands inside the container:

ddev composer require drupal/pillarshield

 

Configuration

After installation, navigate to Administration > Configuration > Content Authoring > PillarShield Governance.

1. Connect API Key

We recommend installing the Key module to store your API secret safely. Create a new Key of type "Authentication" or "Config" and select it in the PillarShield settings. Alternatively, you can paste the key directly during testing.

2. Select Content Types

Choose which content types (e.g., Article, Page) should be evaluated. PillarShield will only check enabled types.

3. Define Gate Behavior

Decide whether the "Gate" (blocking behavior) runs on Draft Save, Publish, or both. The default recommendation is to enforce only on Publish.