“Generated by AI” adds a simple, visible label to content created by your contributors using artificial intelligence. This helps you prepare for the growing transparency requirements regarding AI, in France and elsewhere 🤖
Features
This module provides a reusable block that is displayed only when the current node has been marked as generated by AI.
- Displays a clear "Content generated by AI" notice.
- Allows editors to define a custom message.
- Allows adding a link to an AI policy, terms of use, or editorial policy.
Disclosing AI-generated content will become an increasingly important—and potentially mandatory, transparency requirement in France 🇫🇷. This module is designed to save you time by making it easier to manage this disclosure directly within your content.
Post-Installation
- Create a boolean field named
field_generated_by_aion the content types where AI disclosure is needed. - Place the Generated by AI Block in a block region through the Drupal Block Layout page.
- Configure an optional custom message and an optional URL to your AI policy.
- Make sure the block has access to the current node context, usually by placing it on node pages.
- For each relevant node, enable the
field_generated_by_aifield. The disclosure will then appear automatically.
The block will be rendered in FO, which you can customize by editing the CSS variables.
Additional Requirements
- Drupal core.
- A boolean node field with the machine name
field_generated_by_ai.
No external API, JavaScript service, or third-party library is required.
Ask your assistant about Generated by AI
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- field Drupal core
- node Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.