Closed (fixed)
Project:
File admin
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Dec 2012 at 12:05 UTC
Updated:
16 Dec 2012 at 12:10 UTC
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
Comment #1
nedjoFixed in http://drupalcode.org/project/file_admin.git/commit/e960538.