Language Info

<sw-language-info>

ready
Renders information text about the current language

Usage

<sw-language-info
 :entityDescription="Produkt 1">
</sw-language-info>

Component properties

Property name Type Default
entityDescription String
isNewEntity Boolean false
changeLanguageOnParentClick Boolean true

Methods

Method name Parameters
createdComponent No parameters
destroyedComponent No parameters
refreshParentLanguage No parameters
onClickParentLanguage No parameters

Imports

  • ./sw-language-info.html.twig
  • ./sw-language-info.scss

Watcher

Inject

  • repositoryFactory

SASS variables

Variable name Value
$sw-language-info-color-text $color-gutenberg ($color-darkgray-200)
$sw-language-info-font-size $font-size-small (14px)
$sw-language-info-color-language $color-shopware-blue ($color-shopware-brand-500)

Twig blocks

  • sw_language_info_text
  • sw_language_info