JSONAPI_FILTER_AMONG_PUBLISHED
Same name in other branches
- 9 core/modules/jsonapi/jsonapi.module \JSONAPI_FILTER_AMONG_PUBLISHED
- 10 core/modules/jsonapi/jsonapi.module \JSONAPI_FILTER_AMONG_PUBLISHED
- 11.x core/modules/jsonapi/jsonapi.module \JSONAPI_FILTER_AMONG_PUBLISHED
Array key for denoting type-based published-only filtering access.
Array key for denoting access to filter among all published entities of a given type, regardless of their owner.
This is used when an entity type has a "published" entity key and there's a query condition for the value of that equaling 1.
See also
hook_jsonapi_entity_filter_access()
hook_jsonapi_ENTITY_TYPE_filter_access()
File
-
core/
modules/ jsonapi/ jsonapi.module, line 39
Code
const JSONAPI_FILTER_AMONG_PUBLISHED = 'filter_among_published';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.