Skip to content

Commit

Permalink
Show bundle list in 'Bulk Upload' button
Browse files Browse the repository at this point in the history
  • Loading branch information
cienvaras committed Nov 6, 2024
1 parent c52f9e0 commit 1a0116a
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 1a0116a

Please sign in to comment.