You are here

public function BeanInlineEntityFormController::tableFields in Bean (for Drupal 7) 7

Overrides EntityInlineEntityFormController::tableFields().

Overrides EntityInlineEntityFormController::tableFields

File

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

Class

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

Code

public function tableFields($bundles) {
  $fields = array();
  $fields['label'] = array(
    'type' => 'property',
    'label' => t('Label'),
    'weight' => 1,
  );
  return $fields;
}