protected function EntityformTypeUIController::overviewTableRow in Entityform 7.2
Same name and namespace in other branches
- 7 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 24 - 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;
}