The checkbox on entity forms is provided by hook_field_attach_form(). Hence it only works if an entity is fieldable.

Not that I think there are many non-fieldable entities out there (what would be the point??), but it's not a big thing to check for this before offering the option in the flag edit form.

Comments

joachim’s picture

Status: Active » Needs review
StatusFileSize
new991 bytes
joachim’s picture

Status: Needs review » Fixed

Automatically closed -- issue fixed for 2 weeks with no activity.