You are here

protected function ClientsResourceEntityUIController::overviewTableRow in Web Service Clients 7.3

Generates the row for the passed entity and may be overridden in order to customize the rows.

Parameters

$additional_cols: Additional columns to be added after the entity label column.

Overrides ClientsHandlerEntityUIController::overviewTableRow

File

includes/clients.ui.inc, line 331
Provides a controller for building an entity overview form.

Class

ClientsResourceEntityUIController
UI controller class for resources.

Code

protected function overviewTableRow($conditions, $id, $entity, $additional_cols = array()) {

  // Add the connection to the columns. Our parent class does the handler type.
  $additional_cols['connection'] = l($entity->connection, 'admin/structure/clients/connections/manage/' . $entity->connection);
  return parent::overviewTableRow($conditions, $id, $entity, $additional_cols);
}