protected function BatBookingUIController::overviewTableHeaders in Booking and Availability Management Tools for Drupal 7
Overrides overviewTableHeaders() defaults.
Overrides EntityDefaultUIController::overviewTableHeaders
File
- modules/
bat_booking/ bat_booking.admin.inc, line 49 - BatBooking editing UI.
Class
- BatBookingUIController
- UI controller.
Code
protected function overviewTableHeaders($conditions, $rows, $additional_header = array()) {
$header = array(
t('ID'),
t('Name'),
t('Bundle'),
);
if (!empty($this->entityInfo['exportable'])) {
$header[] = t('Status');
}
// Add operations with the right colspan.
$header[] = array(
'data' => t('Operations'),
'colspan' => $this
->operationCount(),
);
return $header;
}