function entityform_user_draft in Entityform 7
Same name and namespace in other branches
- 7.2 entityform.module \entityform_user_draft()
Get the current draft submission if any for a user
Parameters
string $type: Entityform Type
int $uid:
Return value
Ambigous <NULL, A, mixed>
1 call to entityform_user_draft()
- entityform_form_wrapper in ./
entityform.admin.inc - Form callback wrapper: create or edit a entityform.
File
- ./
entityform.module, line 456 - Module for the Entityform Entity - a starting point to create your own Entity and associated administration interface
Code
function entityform_user_draft($type, $uid = NULL) {
return entityform_user_previous_submission($type, $uid, 1);
}