Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293733

Move jsonapi constants to an enum and deprecate the constants

$
0
0

Problem/Motivation

jsonapi only has constants left in the .module file

Steps to reproduce

open jsonapi.module

Proposed resolution

Move consts to a new class
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


Viewing all articles
Browse latest Browse all 293733

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>