Problem/Motivation

This code assumes #access is always true or false: https://git.drupalcode.org/project/conditional_fields/-/blob/48be41ced2f...
But it can also be an AccessResultInterface object. In that case the object will be evaluated as true.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

prudloff created an issue. See original summary.

prudloff’s picture

Title: ConditionalFieldsFormHelper::dependentValidate() assumes #access is a bollean » ConditionalFieldsFormHelper::dependentValidate() assumes #access is a boolean