Media Modal Move

<sw-media-modal-move>

ready
The sw-media-modal-move component is used to validate the move action.

Usage

<sw-media-modal-move itemsToDelete="[items]">
</sw-media-modal-move>

Component properties

Property name Type Default
itemsToMove Array

Methods

Method name Parameters
mountedComponent No parameters
closeMoveModal No parameters
isNotPartOfItemsToMove item
updateParentFolder child
onSelection folder
moveSelection No parameters

Imports

  • ./sw-media-modal-move.html.twig
  • ./sw-media-modal-move.scss

Watcher

  • displayFolder

Mixins

  • notification

Inject

  • mediaFolderService

SASS variables

Variable name Value
$sw-media-modal-move-breadcrumbs-hover-background-color $color-cadet-blue ($color-shopware-brand-50)
$sw-media-modal-move-breadcrumbs-right-arrow-color $color-gutenberg ($color-darkgray-200)
$sw-media-modal-move-breadcrumbs-default-color $color-gutenberg ($color-darkgray-200)
$sw-media-modal-move-breadcrumbs-target-color $color-shopware-blue ($color-shopware-brand-500)
$sw-media-modal-move-breadcrumbs-parent-color $color-steam-cloud ($color-gray-300)

Twig blocks

  • sw_media_modal_move_breadcrumbs
  • sw_media_modal_body
  • sw_media_modal_move_cancel_button
  • sw_media_modal_move_confirm_button
  • sw_media_modal_footer
  • sw_media_modal_move