mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 23:26:40 +03:00
53 lines
2.3 KiB
JSON
53 lines
2.3 KiB
JSON
{
|
|
"manifests": {
|
|
"kunstmaan/dashboard-bundle": {
|
|
"manifest": {
|
|
"bundles": {
|
|
"Kunstmaan\\DashboardBundle\\KunstmaanDashboardBundle": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
},
|
|
"env": {
|
|
"GOOGLE_API_CLIENT_ID": "client_id",
|
|
"GOOGLE_API_CLIENT_SECRET": "secret",
|
|
"GOOGLE_API_DEV_KEY": "dev_key",
|
|
"GOOGLE_API_APP_NAME": "MyDevApp"
|
|
}
|
|
},
|
|
"files": {
|
|
"config/packages/kunstmaan_dashboard.yaml": {
|
|
"contents": [
|
|
"# Configurate the dashboard bundle google api parameters to enable the google widget",
|
|
"# More info at https://kunstmaanbundlescms.readthedocs.io/en/latest/cookbook/google-analytics-dashboard/",
|
|
"kunstmaan_dashboard:",
|
|
" google_analytics:",
|
|
" api:",
|
|
" client_id: '%env(GOOGLE_API_CLIENT_ID)%'",
|
|
" client_secret: '%env(GOOGLE_API_CLIENT_SECRET)%'",
|
|
" dev_key: '%env(GOOGLE_API_DEV_KEY)%'",
|
|
" app_name: '%env(GOOGLE_API_APP_NAME)%'",
|
|
""
|
|
],
|
|
"executable": false
|
|
},
|
|
"config/routes/kunstmaan_dashboard.yaml": {
|
|
"contents": [
|
|
"KunstmaanDashboardBundle:",
|
|
" resource: \"@KunstmaanDashboardBundle/Resources/config/routing.yml\"",
|
|
" # If your site is not multi language, remove the \"{_locale}/\" part of the prefix and the requirements",
|
|
" prefix: /{_locale}/",
|
|
" requirements:",
|
|
" _locale: \"%kunstmaan_admin.required_locales%\"",
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "a0512649a7b21b9a01639b0edfe2a2a3a1846d6c"
|
|
}
|
|
}
|
|
}
|