public function PresetListBuilder::buildHeader in Video 8.2
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\EntityListController::render()
File
- modules/
video_transcode/ src/ Controller/ PresetListBuilder.php, line 39
Class
- PresetListBuilder
- Provides a listing of preset entities.
Namespace
Drupal\video_transcode\ControllerCode
public function buildHeader() {
$header['label'] = $this
->t('Preset');
$header['machine_name'] = $this
->t('Machine Name');
return $header + parent::buildHeader();
}