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

Deprecate JSON:API filter constants moving them to class constants

$
0
0

Problem/Motivation

The .module file of jsonapi only contains constants. Lets move them out so we can eventually drop the .module file.

Steps to reproduce

Open jsonapi.module or TemporaryQueryQuard to see the constants in use.

Proposed resolution

  1. Move consts to a new class
  2. Replace calls to the constants
  3. Update API docs

Remaining tasks

None.

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 293850

Trending Articles



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