Skip to content

Annotations Demo Types Recipe

Shared base recipe for all Annotations demo recipes. Installs the core Annotations modules and creates three standard annotation types used across every other annotations_demo_* recipe.

What you get

Annotation types

ID Label Description
editorial Editorial What this target is and how editors use it. Written for non-technical users.
technical Technical Developer-facing: schema notes, API behavior, integration details.
rules Rules Field-level business rules, validation policies, and data quality standards.

Requirements

  • Drupal 11 / PHP 8.3+
  • Annotations module suite (drupal/annotations)

Usage

This recipe is intended to be declared as a recipes: dependency in other demo recipes, not applied standalone. All annotations_demo_* recipes declare it as a dependency and will apply it automatically.

To apply it directly:

drush recipe modules/contrib/annotations/recipes/annotations_demo_types
drush cr

See also