Skip to content

Annotations Extras Recipes

Drupal recipes for the annotations_extras package. Each recipe is self-contained and can be applied with drush recipe <path>, where path is relative to the drupal directory.

Available recipes

annotations_demo_types

The three standard annotation types: Editorial, Technical, and Business rules. Shipped in this package as a copy of core annotations' own annotations_demo_types recipe — annotations_demo_webform below declares it as a recipes: dependency, and Drupal's recipe resolution requires that dependency to live in the same parent directory as the recipe applying it, not just anywhere in the installed codebase. You rarely need to apply it directly.

annotations_demo_webform

Bolt-on annotations for a standalone Webform. Creates the New Starter Onboarding form, registers webform and webform_submission as annotation target types, and imports 7 starter annotations with per-field overlay triggers. Depends on annotations_demo_types (above).

Recipe authoring

See core annotations' own DEVELOPING.md for the enableTargetType and enableTargetField config action plugins — owned by core, used by any recipe (in either package) that wires up annotation scope on existing content types.