Installation¶
Requirements¶
| Requirement | Version |
|---|---|
| Drupal core | ^10.5 or ^11.2 |
| PHP | 8.2 or later |
| drupal/ai | ^1.3 |
| drupal/ai_agents | ^1.2 |
| drupal/entity | ^1.6 |
The shipped criterion plugin talks to an AI Agent, so you also need at least one AI provider configured through the AI module (OpenAI, Anthropic, or any other provider module).
Install¶
composer require drupal/ai_content_review
drush en ai_content_review
drush cr
Composer pulls in AI, AI Agents and Entity API. Enabling the module installs the review_record and
suggestion content entity types, the review_rule config entity type, and the optional
ai_content_review view.
Optional integrations¶
| Module | What it adds |
|---|---|
| Views (core) | The dedicated review listing at /admin/content/ai-review, the AI review column on /admin/content, and the outcome and criterion filters. |
| Navigation (core, experimental) | The review summary pill and side panel in the top bar of rendered entity pages. |
Both are optional. The view ships in config/optional, so it installs only where Views and Node are
present, and existing sites pick it up through drush updatedb.
Background reviews¶
Bulk and scheduled reviews use a Drupal queue named ai_content_review_batch_review. Something has
to drain it. Either run cron regularly, or drain the queue directly:
drush queue:run ai_content_review_batch_review
The status report at /admin/reports/status reports the queue depth and warns when nothing has
drained it for two hours. See Bulk and scheduled reviews.
Uninstall¶
drush pmu ai_content_review
Uninstalling removes the dedicated review view, takes the AI review column back out of the core content view, deletes the batch queue and clears the per-rule resume cursors. Review Records and Suggestions are removed with their entity types.