Move jsonapi constants to an enum and deprecate the constants.

Created on 23 December 2024, 1 day ago

Problem/Motivation

jsonapi only has constants left in the .module file

Steps to reproduce

open jsonapi.module

Proposed resolution

Move consts to an enum
Replace calls to the const
Update tests

Remaining tasks

User interface changes

N/A

Introduced terminology

N/A

API changes

The following constants are deprecated
JSONAPI_FILTER_AMONG_ALL
JSONAPI_FILTER_AMONG_PUBLISHED
JSONAPI_FILTER_AMONG_ENABLED
JSONAPI_FILTER_AMONG_OWN

Data model changes

N/A

Release notes snippet

N/A

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component

jsonapi.module

Created by

πŸ‡ΊπŸ‡ΈUnited States nicxvan

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024