Problem/Motivation

I installed this module on a site that already had entity_hierarchy.

Since they both share entity_reference_hierarchy as the field plugin ID, installing both at the same time could be catastrophic.

A warning on the project page would be helpful, and potentially coordinating a future name change in one of them. They handle different things, and could be installed on the same site.

Related issue: https://git.drupalcode.org/project/entity_hierarchy/-/work_items/3590994

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

mortona2k created an issue. See original summary.

mortona2k’s picture

Issue summary: View changes
dwkitchen’s picture

Since this module's name space is `entity_reference_hierarchy` it should remain as the plugin id.

`entity_hierarchy` should either use `entity_hierarchy` as it's plugin ID.

dwkitchen’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

dwkitchen’s picture

Implemented guards to prevent both modules being installed together.

mortona2k’s picture

Agreed, plugin ID should match the module machine name. The comparison on the project page is clear, thank you!