acquia/department_of_eudaimonia_helper

Config-action plugins used by the Department of Eudaimonia recipe (acquia/department_of_eudaimonia).

Maintainers

Package info

github.com/acquia/demo_eudaimonia_dept_helper

Type:drupal-module

pkg:composer/acquia/department_of_eudaimonia_helper

Transparency log

Statistics

Installs: 3

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-08-12 13:20 UTC

This package is not auto-updated.

Last update: 2026-08-12 19:37:18 UTC


README

A small helper module providing the config-action plugins required by the Department of Eudaimonia recipe. It is normally installed automatically as a dependency of that recipe — you don't require it directly.

What it provides

Three #[ConfigAction] plugins (in src/Plugin/ConfigAction/) that do things a config-only recipe cannot:

  • setCanvasFileReferences — resolves media UUIDs into references inside a Canvas page-region's component inputs (used to wire the USWDS banner's flag/.gov/HTTPS icons).
  • setComponentFolders — moves Canvas components into named category folders after import (Canvas otherwise auto-assigns every component to an "Other" folder).
  • addModerationEntityTypes — adds a bundle-less entity type (e.g. canvas_page) to a Content Moderation workflow, which core's derived addNodeTypes action can't do.

Usage

The recipe declares this module as a Composer dependency and enables it, then calls the actions above. On its own the module has no user-facing behaviour.

License

GPL-2.0-or-later.