Allow CRUD operations for Crop entities in a workspace

Created on 30 May 2019, about 5 years ago
Updated 18 March 2024, 3 months ago

Problem/Motivation

The crop entity type is only used as an API for storing the crop settings of a referenced entity (like file) and it is not exposed directly to site users since it doesn't have any kind of user-facing links, like canonical.

Proposed resolution

Allow CRUD operations for 'crop' entities in a workspace by using the Drupal\workspaces\Entity\Handler\IgnoredWorkspaceHandler entity handler.

Remaining tasks

Review.

User interface changes

Nope.

API changes

Nope.

Data model changes

Nope.

Release notes snippet

Nope.

πŸ“Œ Task
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡·πŸ‡΄Romania amateescu

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡·πŸ‡΄Romania amateescu

    πŸ“Œ Add mechanism to have workspaces skip processing entity types Needs work was recently committed to Drupal core, and it provides a way for entity types to be "ignored" by workspaces, by using the Drupal\workspaces\Entity\Handler\IgnoredWorkspaceHandler entity handler.

    That handler is only instantiated by the Workspaces module, so it's safe to add it in the entity type annotation even though the Drupal core release which includes it (10.3) is not released yet.

Production build 0.69.0 2024