From 6a9b9ac0233d0721bf1caabff7890f261877c0c2 Mon Sep 17 00:00:00 2001 From: msalsas Date: Sat, 29 Feb 2020 13:17:35 +0100 Subject: [PATCH] Add Add MsalsasGdprConsentBannerBundle recipe --- .../1.0/config/packages/msalsas_gdpr_consent_banner.yaml | 7 +++++++ .../1.0/config/routes/msalsas_gdpr_consent_banner.yaml | 4 ++++ msalsas/gdpr-consent-banner-bundle/1.0/manifest.json | 8 ++++++++ 3 files changed, 19 insertions(+) create mode 100644 msalsas/gdpr-consent-banner-bundle/1.0/config/packages/msalsas_gdpr_consent_banner.yaml create mode 100644 msalsas/gdpr-consent-banner-bundle/1.0/config/routes/msalsas_gdpr_consent_banner.yaml create mode 100644 msalsas/gdpr-consent-banner-bundle/1.0/manifest.json diff --git a/msalsas/gdpr-consent-banner-bundle/1.0/config/packages/msalsas_gdpr_consent_banner.yaml b/msalsas/gdpr-consent-banner-bundle/1.0/config/packages/msalsas_gdpr_consent_banner.yaml new file mode 100644 index 00000000..d7c0ad9f --- /dev/null +++ b/msalsas/gdpr-consent-banner-bundle/1.0/config/packages/msalsas_gdpr_consent_banner.yaml @@ -0,0 +1,7 @@ +msalsas_gdpr_consent_banner: + has_translations: true + css: default + fade_time: 2 + text_message: "" + accept_message: "" + time_to_expire: 30 days diff --git a/msalsas/gdpr-consent-banner-bundle/1.0/config/routes/msalsas_gdpr_consent_banner.yaml b/msalsas/gdpr-consent-banner-bundle/1.0/config/routes/msalsas_gdpr_consent_banner.yaml new file mode 100644 index 00000000..3ed25e22 --- /dev/null +++ b/msalsas/gdpr-consent-banner-bundle/1.0/config/routes/msalsas_gdpr_consent_banner.yaml @@ -0,0 +1,4 @@ +accept_gdpr_consent_banner: + path: /accept-gdpr-consent-banner + controller: Msalsas\GdprConsentBannerBundle\Controller\MsalsasGdprConsentBannerController:acceptGdprConsentBanner + methods: POST diff --git a/msalsas/gdpr-consent-banner-bundle/1.0/manifest.json b/msalsas/gdpr-consent-banner-bundle/1.0/manifest.json new file mode 100644 index 00000000..08d17bf7 --- /dev/null +++ b/msalsas/gdpr-consent-banner-bundle/1.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Msalsas\\GdprConsentBannerBundle\\MsalsasGdprConsentBannerBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}