You are here

protected function EntityformTypeUIController::overviewTableRow in Entityform 7

Same name and namespace in other branches
  1. 7.2 entityform_type.admin.inc \EntityformTypeUIController::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

./entityform_type.admin.inc, line 53
Entityform type editing UI.

Class

EntityformTypeUIController
UI controller.

Code

protected function overviewTableRow($conditions, $id, $entity, $additional_cols = array()) {
  $row = parent::overviewTableRow($conditions, $id, $entity, $additional_cols);
  $row[] = l(t('Submissions'), $this->path . '/manage/' . $id . '/submissions');
  $row[] = l(t('Submit Link'), entity_ui_controller('entityform')
    ->submit_path($id));
  return $row;
}