You are here

public function BootstrapTourStepInlineEntityFormController::tableFields in Bootstrap Tour 7.2

Overrides EntityInlineEntityFormController::tableFields().

Overrides EntityInlineEntityFormController::tableFields

File

includes/bootstrap_tour.controller.inc, line 132
Defines the inline entity form controller for BootstrapTourStep entities.

Class

BootstrapTourStepInlineEntityFormController
Class BootstrapTourStepInlineEntityFormController

Code

public function tableFields($bundles) {
  $fields = parent::tableFields($bundles);
  $fields['title']['label'] = t('Popup Title');
  $fields['selector'] = array(
    'type' => 'property',
    'label' => t('CSS Selector'),
    'weight' => 100,
  );
  $fields['placement'] = array(
    'type' => 'property',
    'label' => t('Placement'),
    'weight' => 101,
  );
  $fields['path'] = array(
    'type' => 'property',
    'label' => t('Path'),
    'weight' => 102,
  );
  return $fields;
}