Craft CMS Asked on March 17, 2021
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?
Found it!!! Used ElementQuery::EVENT_AFTER_PREPARE
Correct answer by Ram on March 17, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP