Is it possible with the modifyEntrySources hook to query a field value against another fields value? Example:
Two fields are present on the entry section this hook targets
- fieldParentId
- fieldId
I want to be able to query in the entry source definition if the fieldParentId
is the same as the fieldId
to return only those records in the entry list within Craft that match this. I'm not sure this is possible, or if there is a special syntax required within the criteria
array to do it?