You are here

protected function CertificateEntityUIController::overviewTableRow in Certificate 7.3

Same name and namespace in other branches
  1. 8.3 certificate.classes.inc \CertificateEntityUIController::overviewTableRow()

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 EntityDefaultUIController::overviewTableRow

File

./certificate.classes.inc, line 10

Class

CertificateEntityUIController
Custom Entity admin

Code

protected function overviewTableRow($conditions, $id, $entity, $additional_cols = array()) {
  $rows = parent::overviewTableRow($conditions, $id, $entity, $additional_cols);
  $rows[] = l(t('PDF'), $this->path . '/preview/' . $id);
  return $rows;
}