diff --git a/entityform.info.inc b/entityform.info.inc index 3799300..eb96f4b 100644 --- a/entityform.info.inc +++ b/entityform.info.inc @@ -47,6 +47,15 @@ class EntityformMetadataController extends EntityDefaultMetadataController { // @todo This line could be removed depending on this http://drupal.org/node/1931376 $properties['type']['required'] = TRUE; + $properties['draft'] = array( + 'label' => t('Draft'), + 'type' => 'boolean', + 'description' => t("Wheter this form submission is a draft."), + 'setter callback' => 'entity_property_verbatim_set', + 'setter permission' => 'administer entityform types', + 'schema field' => 'draft', + ); + return $info; } }