It should be possible to set defaults for file types. However, currently those settings are only enforced when enabled. When disabled, no action is taken, so the field's default value is used as per the hook_schema() data.

Need to set 0 as well as 1 values in hook_entity_presave().

Comments

nedjo’s picture

Status: Fixed » Closed (fixed)

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