$error_message=$this->t('Your previously used file storage %previous_scheme is no longer available on this Drupal site, see the %system_settings. Please reset your default to an existing file storage.',[
$this->messenger()->addError($this->t('Your previously used file storage %previous_scheme is no longer available on this Drupal site, see the %system_settings. Please reset your default to an existing file storage.',[
'%previous_scheme'=>$template_scheme.'://',
'%system_settings'=>Link::createFromRoute($this->t('File system settings'),'system.file_system_settings')->toString(),
]);
]));
// @todo: It would be helpful if we could use EntityQuery instead, see
'#prefix'=>$this->t('Nevertheless, the following FillPDF forms will not work until their respective PDF templates have been moved to an existing file scheme:'),
[
'#theme'=>'item_list',
'#items'=>$items,
],
];
$error_message.='<br />'.$this->t('Nevertheless, the following FillPDF forms will not work until their respective PDF templates have been moved to an existing file scheme:<br />@list',[