You are here

public function CertificateEntityUIController::overviewTable in Certificate 8.3

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

Override the table that comes from EntityDefaultUIController so we can sort it by label.

File

./certificate.classes.inc, line 24

Class

CertificateEntityUIController
Custom Entity admin

Code

public function overviewTable($conditions = array()) {
  $table = parent::overviewTable($conditions);
  uasort($table['#rows'], array(
    $this,
    'labelSorter',
  ));
  return $table;
}