public function ILTResultListBuilder::buildHeader in Opigno Instructor-led Trainings 8
Same name and namespace in other branches
- 3.x src/ILTResultListBuilder.php \Drupal\opigno_ilt\ILTResultListBuilder::buildHeader()
Builds the header row for the entity listing.
Return value
array A render array structure of header strings.
Overrides EntityListBuilder::buildHeader
See also
\Drupal\Core\Entity\EntityListBuilder::render()
File
- src/
ILTResultListBuilder.php, line 16
Class
- ILTResultListBuilder
- Provides a list controller for opigno_ilt_result entity.
Namespace
Drupal\opigno_iltCode
public function buildHeader() {
$header['id'] = $this
->t('ID');
$header['ilt'] = $this
->t('Instructor-Led Training');
$header['user'] = $this
->t('User');
$header['status'] = $this
->t('Status');
$header['score'] = $this
->t('Score');
return $header + parent::buildHeader();
}