protected function PartyUIController::overviewTableRow in Party 7
Same name and namespace in other branches
- 8.2 includes/party.ui.inc \PartyUIController::overviewTableRow()
Generates the row for the passed entity and may be overridden in order to customize the rows.
Overrides EntityDefaultUIController::overviewTableRow
1 call to PartyUIController::overviewTableRow()
- PartyHatPartyUIController::overviewTableRow in modules/
party_hat/ includes/ party_hat.entity.inc - Generates the row for the passed entity and may be overridden in order to customize the rows.
1 method overrides PartyUIController::overviewTableRow()
- PartyHatPartyUIController::overviewTableRow in modules/
party_hat/ includes/ party_hat.entity.inc - Generates the row for the passed entity and may be overridden in order to customize the rows.
File
- includes/
party.ui.inc, line 133 - Provides a controller for building a party overview form.
Class
- PartyUIController
- Controller for providing Party UI.
Code
protected function overviewTableRow($conditions, $id, $party, $additional_cols = array()) {
// Get the basic row from the parent class.
$row = parent::overviewTableRow($conditions, $id, $party, $additional_cols);
// Take off the label so we can rearrange things.
$label = array_shift($row);
array_unshift($row, $id, $label);
return $row;
}