For behaviors with no options an empty fieldset is show in the entity form, as follows:

screenshot with the empty fieldset

Comments

manuel.adan created an issue. See original summary.

manuel.adan’s picture

manuel.adan’s picture

Assigned: manuel.adan » Unassigned
Status: Active » Needs review
StatusFileSize
new560 bytes

  • ab47a06 committed on 8.x-1.x
    git commit -m 'Issue #3061277 by manuel.adan: Hide behavior details in...
mheip’s picture

Status: Needs review » Fixed

Hi Manuel

For the life of me, I have no idea why someone would have a behavior plugin without form.
But, your patch works, it does no harm, and it's a good practice.

So I have added this to the dev branch.

Thanks for the contribution!

manuel.adan’s picture

Thank's!. A behavior could work in a different way according to the entity state or other contextual values.

mheip’s picture

Status: Fixed » Closed (fixed)