Skip to content

Custom ElementCondition in plugin #15563

Closed Answered by brandonkelly
janhenckens asked this question in Q&A
Discussion options

You must be logged in to vote

You can set the sourceKey property on the condition (e.g. group:<uid>) or if you want it to include the custom fields from multiple field layouts, you can pass the field layouts to the condition via $condition->setFieldLayouts().

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@janhenckens
Comment options

Answer selected by brandonkelly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants