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.
Deprecated
in drupal:11.3.0 and is removed from drupal:13.0.0. Use \Drupal\jsonapi\JsonApiFilter::AMONG_PUBLISHED instead.
See also
https://www.drupal.org/node/3495601
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.