You are here

public function EckInlineEntityFormController::entityForm in Entity Construction Kit (ECK) 7.3

Same name and namespace in other branches
  1. 7.2 includes/eck.inline_entity_form.inc \EckInlineEntityFormController::entityForm()

Overrides EntityInlineEntityFormController::entityForm().

Overrides EntityInlineEntityFormController::entityForm

File

includes/eck.inline_entity_form.inc, line 32
Defines the inline entity form controller for ECK Entities.

Class

EckInlineEntityFormController
@file Defines the inline entity form controller for ECK Entities.

Code

public function entityForm($entity_form, &$form_state) {
  $entity_form = array_merge($entity_form, eck__entity__form($entity_form, $form_state, $entity_form['#entity']));
  unset($entity_form['submit']);
  return $entity_form;
}