Access check param seems not to be working as expected on drupal_field

Created on 3 November 2023, about 1 year ago
Updated 11 January 2024, about 1 year ago

Problem/Motivation

I've got a taxonomy vocabulary A with a field_def referencing a term from another vocabulary B which has a field_abc referencing paragraphs.

In my taxonomy term template for vocabulary A I want to display the value of field_abc from the referenced taxonomy term:
{{ drupal_field('field_abc', 'taxonomy_term', term.field_def.value.0.target_id, view_mode, 'en', FALSE) }}

When the last argument is set to FALSE, it is supposed to disable the access check.
If I unpublish the term from vocabulary B which is referenced in my term from vocabulary A, anonymous users don't see the content of this field even if we said we didn't wanted an access check.

๐Ÿ“Œ Task
Status

Postponed: needs info

Version

3.2

Component

Documentation

Created by

๐Ÿ‡ซ๐Ÿ‡ทFrance MacSim

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