I’m attempting to create a custom content type for a module via hook_install. When I create a date type (from Date module), I want it to require an end date (there’s a checkbox when you’re setting up the field via the gui). This is the settings array for the field:
'settings' => array( 'enddate_get' => 1, 'enddate_required' => 1, ),
This isn’t working (the widget is still only asking for one date), so I’m guess that I have the wrong settings. Does anyone know how to properly set this up?