protected function BatchWatermarkForm::buildHeader in Media watermark 8
Helper to get table sort header.
Return value
array The sortable table header definition.
1 call to BatchWatermarkForm::buildHeader()
- BatchWatermarkForm::getImageFiles in src/
Form/ BatchWatermarkForm.php - Get files sortable table.
File
- src/
Form/ BatchWatermarkForm.php, line 396
Class
- BatchWatermarkForm
- Class BatchWatermarkForm.
Namespace
Drupal\media_watermark\FormCode
protected function buildHeader() {
return [
'filename' => [
'data' => t('File name'),
'field' => 'filename',
'specifier' => 'filename',
],
'image_preview' => [
'data' => t('Image Preview'),
'field' => 'image_preview',
'specifier' => 'image_preview',
],
'type' => [
'data' => t('Type'),
],
'filesize' => [
'data' => t('Size'),
'field' => 'filesize',
'specifier' => 'filesize',
],
'author' => [
'data' => t('Author'),
'field' => 'uid',
'specifier' => 'uid',
],
'timestamp' => [
'data' => t('Updated'),
'field' => 'created',
'specifier' => 'created',
],
];
}