2

I was referring to Filter entries in the CP based on custom permission and Filter entries in the CP based on custom permission

It seems onBuildElementsQuery was available only in 2.x. Is there any alternative for craft 3.x?

0

1 Answer 1

2

Found it!!! Used ElementQuery::EVENT_AFTER_PREPARE

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.