Duplicated Media

<sw-duplicated-media>

n/a

Methods

Method name Parameters
createdComponent No parameters
beforeDestroyComponent No parameters
loadDefaultOption No parameters
saveDefaultOption No parameters
handleUploadStoreEvent
isDuplicatedNameError error
updatePreviewData No parameters
solveDuplicate No parameters
renameFile uploadTask
skipAll No parameters
skipCurrentFile No parameters
skipFile uploadTask
replaceFile uploadTask

Imports

  • src/core/factory/criteria.factory
  • ./sw-duplicated-media.html.twig
  • ./sw-duplicated-media.scss

Watcher

  • currentTask
  • showModal
  • isLoading

Inject

  • mediaService

SASS variables

Variable name Value
$sw-duplicated-media-separator-color $color-steam-cloud ($color-gray-300)
$sw-duplicated-media-font-size-preview $font-size-small (14px)

Twig blocks

  • sw_duplicated_media_body_description
  • sw_duplicated_media_body_preview_label_old_file
  • sw_duplicated_media_body_preview_label_new_file
  • sw_media_duplicated_media_target_preview
  • sw_media_duplicated_media_target_name
  • sw_media_duplicated_media_target_details
  • sw_duplicated_media_body_preview_new_media
  • sw_duplicated_media_body_preview_separator
  • sw_duplicated_media_body_preview_old_media
  • sw_duplicated_media_body_preview
  • sw_duplicated_media_body_options
  • sw_duplicated_media_body
  • sw_duplicated_media_save_selection
  • sw_duplicated_media_cancel_button
  • sw_duplicated_media_upload_button
  • sw_duplicated_media_footer
  • sw_duplicated_media