I have an custome made entity
function sbsl_order_entity_info() {
$entitys = array();
$entitys['sbsl_delivery_information'] = array(
'label' => t('Delivery information'),
'controller class' => 'EntityAPIController',
'base table' => 'sbsl_delivery_information',
'fieldable' => TRUE,
'entity keys' => array(
'id' => 'delivery_information_id',
'bundle' => 'bundle',
),
'bundle keys' => array(
'bundle' => 'bundle',
),
'bundles' => array(),
'load hook' => 'sbsl_order_delivery_information_load',
'view modes' => array(
'full' => array(
'label' => t('Full content'),
'custom settings' => FALSE,
),
),
);
return $entitys;
}
I want to attach a form to my widget with field_attach_form
but can't figure out where i should define the form elements