diff --git a/inline_entity_form.module b/inline_entity_form.module
index d5fb20a..c9c5e2f 100644
--- a/inline_entity_form.module
+++ b/inline_entity_form.module
@@ -770,6 +770,9 @@ function inline_entity_form_entity_form($controller, $entity_form, &$form_state)
     $entity_form['#title'] = t('Add new @type_singular', array('@type_singular' => $labels['singular']));
   }
 
+  // Allow other modules to alter the $entity_form['#entity'] and $form_state
+  // before the normal entity form is attached.
+  drupal_alter('inline_entity_form_entity_form_pre', $entity_form, $form_state);
   // Retrieve the form provided by the controller.
   $entity_form = $controller->entityForm($entity_form, $form_state);
   // Allow other modules to alter the form.
