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
composer require drupal/pillarshield
drush en pillarshield
/admin/config/content/pillarshield
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.