Set the new collection_permission in entity type definitions

Created on 6 July 2023, over 1 year ago
Updated 2 November 2023, over 1 year ago

Problem/Motivation

In Allow entities to specify a "collection permission" Fixed ( change record ), Drupal core added a collection_permission property for entity type annotations to indicate which permission allows you to list entities of that type. We already have collection permissions per entity type, so it's only a small effort to set the new property so third party modules can reference it if needed.

Proposed resolution

Set the new collection_permission property in ECK entity type definitions.

📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇧🇪Belgium dieterholvoet Brussels

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

Comments & Activities

Production build 0.71.5 2024