Entity Legal State

Component ID

2851381

Component name

Entity Legal State

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

179

Component created

Component changed

Component body

Description

Addon module to the Entity Legal module.

This module stores the entity_legal document "published version" info
in Drupal state, rather than in the config entity itself.

This is useful when trying to avoid this setting being reverted inadvertently,
e.g. by an (automated) deployment changing the reference to the
EntityLegalDocumentVersion content entity.
It is also useful in cases where you have different version entities on
different environments.

Usage

Just enable the module, and document's published versions will be stored via
the Drupal State API instead.

References

See https://www.drupal.org/node/2851159 for the issue in the entity_legal
queue discussing the use case for this module in more detail.