public function config()
 {
     return ['vars' => [['var' => 'files', 'label' => Module::t('block_file_list.files_label'), 'type' => 'zaa-file-array-upload']], 'cfgs' => [['var' => 'showType', 'label' => Module::t('block_file_list.show_type_label'), 'initvalue' => 0, 'type' => 'zaa-checkbox'], ['var' => 'showTypeIcon', 'label' => Module::t('block_file_list.show_type_icon'), 'initvalue' => 0, 'type' => 'zaa-checkbox'], ['var' => 'showFileSize', 'label' => Module::t('block_file_list.show_file_size'), 'initvalue' => 0, 'type' => 'zaa-checkbox']]];
 }
 public function config()
 {
     return ['placeholders' => [['var' => 'textblocks', 'label' => Module::t('block_inline_wrapper.label')]]];
 }
 /**
  * Available twig variables:
  * @param {{vars.imagePosition}}
  * @param {{extras.imageId}}
  * @param {{vars.imageId}}
  * @param {{vars.text}}
  */
 public function admin()
 {
     return '{% if vars.imagePosition == "left" %}' . '<div class="left-image">' . '<img src="{{extras.thumbnail.source}}" style="max-width:50%; float:left;" class="img-fluid {{vars.imagePosition}}" />' . '</div>' . '{% if vars.text is not empty %} <div class="right-text">' . '{{extras.text}}' . '</div>' . '{% endif %}' . '{% endif %}' . '{% if vars.imagePosition == "right" %}' . '<div class="right-image">' . '<img src="{{extras.thumbnail.source}}" style="max-width:50%; float:right;" class="img-fluid {{vars.imagePosition}}" />' . '</div>' . '{% if vars.text is not empty %} <div class="left-text">' . '{{extras.text}}' . '</div>' . '{% endif %}' . '{% endif %}' . '{% if vars.imagePosition == "centered" %}' . '<div class="center-image" style="text-align:center;">' . '<img src="{{extras.thumbnail.source}}" style="max-width:50%; float:none; clear:both;" class="img-fluid {{vars.imagePosition}}" />' . '</div>' . '{% if vars.text is not empty %} <div class="center-text">' . '{{extras.text}}' . '</div>' . '{% endif %}' . '{% endif %}' . '{% if vars.imageId is empty %}' . '<p>' . Module::t('block_image_text.no_image') . '</p>' . '{% endif %}' . '{% if vars.text is empty %}' . '<p>' . Module::t('block_image_text.no_text') . '</p>' . '{% endif %}';
 }
 public function getFieldHelp()
 {
     return ['textType' => Module::t('block_inlinetext.help')];
 }