Annotations
This module provides a system for attaching structured notes and documentation to various parts of your Drupal site, such as content types, fields, and roles. These annotations can be displayed directly on edit forms to guide content editors or exported for documentation purposes. It acts as a separate metadata layer that enriches your existing site structure without altering your core content or data model.
Annotations lets you attach structured notes to any part of a Drupal site: content types, custom entities, individual fields, vocabularies, roles, etc. Those notes live in one place and can be exposed wherever you need them.
It is a context-driven, organic documentation layer that stays with your site, that your users and AI can use - accumulated domain-specific knowledge. A Context Management System, if you will...
Annotation entities offer the full gamut of Drupal's flexibility, with built-in fieldability, revisions, translation, workflows etc.
Annotations doesn't touch your content, change your content model, or add fields to anything else. It's a metadata layer that sits alongside your existing setup.
What it can do:
- Attach editorial guidance, technical notes, or business logic to any entity type or field in your site
- Surface those notes as in-context overlays on edit forms, so content editors have guidance exactly when they need it
- Assemble them into a structured context payload for AI tools & agents, handing your AI agent an accurate, knowledge-filled map of your site
- Track annotation coverage so you know what's documented and what's not
- Generate/export documentation for onboarding packs, handover docs, etc from your annotation content
- Command line tools - think, a
manpage for your entity types
Annotations uses a slightly different access model in that it is conceptually divided into two camps: management and consumption. The core modules are the annotation management modules, the remainder are consumer modules. The permissions exposed by it reflect this. More in the README(s).
Disclosure
This project and its submodules were generated with help from AI. However, the design & development has been guided and curated as carefully as possible, somewhat as an experiment in AI development. The project was undertaken over a period of many weeks and represents considerable effort. Whilst I have done my best, I expect there to be initial omissions and errors.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 2.0.0-alpha4 | Pre-release | 11 | Jul 27, 2026 | ||
| 2.0.x-dev | Dev | 11 | Development | Jul 22, 2026 | |
| 2.0.0-alpha3 | Pre-release | 11 | Full code review of the core modules | Jul 20, 2026 | |
| 2.0.0-alpha2 | Pre-release | 11 | Jun 26, 2026 | ||
| 2.0.0-alpha1 | Pre-release | 11 | Initial release | Jun 5, 2026 |