Skip to content

Commit

Permalink
Show bundle list in 'Bulk Upload' button (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
cienvaras authored Dec 2, 2024
1 parent c52f9e0 commit 89608a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/MediaAdd.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function addPage($entity_type_id) {
$page['#bundles']['bulk'] = [
'label' => $this->t('Upload File(s)'),
'description' => $this->t('Add one or more files to the Media Library.'),
'add_link' => new Link($this->t('Bulk Upload'), $url),
'add_link' => new Link($this->t('Bulk Upload: @bulk_bundles', ['@bulk_bundles' => implode(', ', $bulk_bundles)]), $url),
];

return $page;
Expand Down

0 comments on commit 89608a7

Please sign in to comment.