Problem/Motivation

Following #3101671: Add mechanism to have workspaces skip processing entity types, we have the notion of ignored entity types.

In #3259701: Override entity reference validation constraint of core workspaces, this module introduced a constraint validator that softened core's version, allowing us to create "internal" entities on an entity reference field. That issue mentioned a future state in which the notion of "ignored" entities was also considered. Now we can make that future a reality.

Steps to reproduce

Install WSE and try to add a Paragraph entity inside a Workspace. We get a message "Paragraphs can only be created within the default workspace."

Proposed resolution

Add another check to the already long list of conditions in the WseEntityReferenceSupportedNewEntitiesConstraintValidator

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork wse-3532659

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

danflanagan8 created an issue. See original summary.

danflanagan8’s picture

Status: Active » Needs review

amateescu made their first commit to this issue’s fork.

amateescu’s picture

Status: Needs review » Fixed

Merged to 2.0.x, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.