Skip to content

Make Metadata Display Entities Revisionable #182

@DiegoPino

Description

@DiegoPino

What?

Since metadata display entities drive almost every user facing and import facing transformation we should make them revision able so small changes/mistakes (logic ones, since we already validate them) can be reverted and also there exposed log of the evolution of a twig template in the form of these entities

How?

The task at hand is well document

And involves:

  • Updating the Annotations on the Entity
  • Adding new Form routing for the Entity
  • Extending the Entity to a different Class
  • Making Update Hooks for already ingested Entities
    An on our side/integration
  • Making sure that we always use the latest published Entity whenever we load it (testing first, then checking where we fail)

Twig templates (our metadata display entities) are used on

  • Format Strawberry Field
  • Webform (not too much, probably a small check on the current webform elements is enough)
  • AMI

@aksm this should not take more than a week. Please open a pull as soon as you start working on this so we can have an ongoing discussion. Thanks!

Metadata

Metadata

Assignees

Labels

Custom EntitiesDrupal 9Everyone's favorite version until Drupal 10 comesField FormatterThe thing that glues the pieces and adds glitterTwigTwig template processingUXLike UI but with an XenhancementNew feature or requestmetadataMeta(l) data

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions