You are here

protected function PartyHatPartyUIController::overviewTableHeaders in Party 7

Same name and namespace in other branches
  1. 8.2 modules/party_hat/includes/party_hat.entity.inc \PartyHatPartyUIController::overviewTableHeaders()

Generates the table headers for the overview table.

Overrides PartyUIController::overviewTableHeaders

File

modules/party_hat/includes/party_hat.entity.inc, line 134
Contains the controller classes for Party entities.

Class

PartyHatPartyUIController
Extends the Party UI controller to show a party's hats in the admin list.

Code

protected function overviewTableHeaders($conditions, $rows, $additional_header = array()) {

  // Get the basic row from the parent class.
  $header = parent::overviewTableHeaders($conditions, $rows, $additional_header);
  array_splice($header, 2, 0, t('Hats'));
  return $header;
}