Recipe per contact-bundle

This commit is contained in:
Giuseppe Fabiano
2025-05-06 16:56:23 +02:00
parent 05b212fd0c
commit 666bc78dab
2 changed files with 47 additions and 0 deletions

View File

@@ -1,5 +1,8 @@
{
"recipes": {
"webindustry/contact-bundle": [
"2.0"
],
"webindustry/redirector-bundle": [
"2.0"
],

View File

@@ -0,0 +1,44 @@
{
"manifests": {
"webindustry/contact-bundle": {
"manifest": {
"bundles": {
"ContactBundle\\ContactBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%"
}
},
"files": {
"config/packages/contact-bundle.yaml": {
"contents": [
"contact:",
" attachments_base_path: '%kernel.project_dir%/var/contact-bundle/attachments'",
" attachments_max_size_mb: 1",
" images_base_path: '%kernel.project_dir%/var/contact-bundle/images'",
" images_max_size_mb: 1",
" sender_email_default_subject: Conferma ricezione richiesta",
" sender_email_default_from: noreply@example.com",
" sender_email_base_template: email/email_base.html.twig",
" backoffice_email_default_subject: Nuova richiesta di contatto",
" backoffice_email_default_from: noreply@example.com",
" backoffice_email_base_template: email/email_base.html.twig",
" backoffice_email_redirect_class:",
" backoffice_email_redirect_rules:",
" form_datasource_class:",
" form_datasources:",
" post_function_class:",
" post_functions:",
" #scopes:",
" # - {id: 'alpha', label: 'Sito alpha.com'}",
" # - {id: 'bravo', label: 'Sito bravo.com'}"
],
"executable": false
}
},
"ref": "b4fa853b709a622db85fb409cff7013cb5d098d6"
}
}
}