You are here

public function NodeInlineEntityFormController::tableFields in Inline Entity Form 7

Overrides EntityInlineEntityFormController::tableFields().

Overrides EntityInlineEntityFormController::tableFields

File

includes/node.inline_entity_form.inc, line 24
Defines the inline entity form controller for Nodes.

Class

NodeInlineEntityFormController
@file Defines the inline entity form controller for Nodes.

Code

public function tableFields($bundles) {
  $fields = parent::tableFields($bundles);
  $fields['status'] = array(
    'type' => 'property',
    'label' => t('Status'),
    'weight' => 100,
  );
  return $fields;
}