- Issue created by @asherry
- Status changed to Needs review
8 months ago 7:46pm 21 March 2024
We're using this with the entity_extra_field module.
I need the condition to evaluate if a boolean field is TRUE. There is a check to see if a field is empty, or null, but since there's no explicit check to see if it's TRUE I used the "negate" option.
The field shows only when the value of the field is FALSE, it appears as if the negation isn't being checked.
Evaluate seems to need to return:
return $this->isNegated() ? !$verdict : $verdict;
Needs review
2.0
Code