Questions tagged [behaviors]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
30 views

Conditionally attach behaviors to craft\elements\Entry by section

I'm trying to conditionally attach behaviors based on an entries section. The following code works fine, but I'm trying to clarify one bit: To avoid a yii\base\InvalidConfigException on the CP ...