protected function CommerceOptionUIController::overviewTableHeaders in Commerce Product Option 7.2
Generates the table headers for the overview table.
Overrides EntityDefaultUIController::overviewTableHeaders
File
- ./
commerce_option.inc, line 13 - Extends the EntityDefaultUIController so we have a better admnin UI.
Class
- CommerceOptionUIController
- @file Extends the EntityDefaultUIController so we have a better admnin UI.
Code
protected function overviewTableHeaders($conditions, $rows, $additional_header = array()) {
$header = array(
t('Option id'),
t('Option set id'),
t('Order id'),
t('Commerce product'),
t('Commerce product id'),
);
// Add operations with the right colspan.
$header[] = array(
'data' => t('Operations'),
'colspan' => $this
->operationCount(),
);
return $header;
}