public function ILTListBuilder::buildHeader in Opigno Instructor-led Trainings 3.x
Same name and namespace in other branches
- 8 src/ILTListBuilder.php \Drupal\opigno_ilt\ILTListBuilder::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/
ILTListBuilder.php, line 17
Class
- ILTListBuilder
- Provides a list controller for opigno_ilt entity.
Namespace
Drupal\opigno_iltCode
public function buildHeader() {
$header['id'] = $this
->t('ID');
$header['name'] = $this
->t('Name');
$header['training'] = $this
->t('Related training');
$header['date'] = $this
->t('Date');
return $header + parent::buildHeader();
}