Skip to content

Instantly share code, notes, and snippets.

@ItsReaSz
Created September 27, 2018 09:04
Show Gist options
  • Save ItsReaSz/2708b7aa406718dae860ae466e3c7408 to your computer and use it in GitHub Desktop.
Save ItsReaSz/2708b7aa406718dae860ae466e3c7408 to your computer and use it in GitHub Desktop.
{
"name": {
"en-GB": "Region highlights and upcoming events"
},
"description": {
"en-GB": "Region highlights and upcoming events"
},
"template": "containers/global/layout/layout.html.twig",
"template_config": {
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"layout": {
"value": "layout layout--split",
"control": "core/hidden"
},
"show_divider": {
"value": 1,
"control": "core/hidden"
},
"show_wings": {
"value": 2,
"control": "core/hidden"
}
}
}
},
"containers": [
{
"name": {
"en-GB": "Article list"
},
"description": {
"en-GB": "Article list"
},
"template": "modules/articles/region-highlights/region-highlights.html.twig",
"template_config": {
"labels": {
"label": {
"en-GB": "Labels"
},
"controls": {
"title": {
"label": {
"en-GB": "Title"
},
"control": "core/text",
"value": {
"en-GB": "Region highlights",
"fr-FR": "Region highlights"
}
}
}
},
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"types": {
"value": "article",
"control": "core/hidden"
},
"limit": {
"value": "4",
"control": "project/model/limit"
},
"time": {
"value": "{ query.time }",
"control": "core/hidden"
},
"location": {
"value": "6255146",
"control": "core/hidden"
},
"type": {
"value": "article.impact",
"control": "core/hidden"
},
"data": {
"control": "project/model/searches",
"value": {
"adapter": "SCR",
"model": "search"
}
}
}
}
},
"containers": [
{
"name": {
"en-GB": "List of articles from Africa"
},
"description": {
"en-GB": "List of articles from Africa"
},
"template": "modules/articles/list/list.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"types": {
"value": "article",
"control": "core/hidden"
},
"limit": {
"value": "4",
"control": "project/model/limit"
},
"time": {
"value": "{ query.time }",
"control": "core/hidden"
},
"location": {
"value": "6255146",
"control": "core/hidden"
},
"type": {
"value": "article.impact",
"control": "project/model/search_article_type"
},
"data": {
"control": "project/model/searches",
"value": {
"adapter": "SCR",
"model": "search"
}
}
}
},
"labels": {
"label": {
"en-GB": "Config"
},
"controls": {
"title": {
"label": {
"en-GB": "Region title"
},
"control": "core/text",
"value": {
"en-GB": "Africa",
"fr-FR": "Africa"
}
}
}
}
},
"frontender": "322724904c3a20c9f498c508c97a5d94"
},
{
"name": {
"en-GB": "List of articles from the Caribbean"
},
"description": {
"en-GB": "List of articles from the Carribean"
},
"template": "modules/articles/list/list.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"types": {
"value": "article",
"control": "core/hidden"
},
"limit": {
"value": "4",
"control": "project/model/limit"
},
"time": {
"value": "{ query.time }",
"control": "core/hidden"
},
"location": {
"value": "7729891",
"control": "core/hidden"
},
"type": {
"value": "article.impact",
"control": "project/model/search_article_type"
},
"data": {
"control": "project/model/searches",
"value": {
"adapter": "SCR",
"model": "search"
}
}
}
},
"labels": {
"label": {
"en-GB": "Config"
},
"controls": {
"title": {
"label": {
"en-GB": "Region title"
},
"control": "core/text",
"value": {
"en-GB": "Caribbean",
"fr-FR": "Caribbean"
}
}
}
}
},
"frontender": "58b642d26199970d3afa6375059af5f6"
},
{
"name": {
"en-GB": "List of articles from the Pacific"
},
"description": {
"en-GB": "List of articles from the Pacific"
},
"template": "modules/articles/list/list.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"types": {
"value": "article",
"control": "core/hidden"
},
"limit": {
"value": "4",
"control": "project/model/limit"
},
"time": {
"value": "{ query.time }",
"control": "core/hidden"
},
"location": {
"value": "2363254",
"control": "core/hidden"
},
"type": {
"value": "article.impact",
"control": "project/model/search_article_type"
},
"data": {
"control": "project/model/searches",
"value": {
"adapter": "SCR",
"model": "search"
}
}
}
},
"labels": {
"label": {
"en-GB": "Config"
},
"controls": {
"title": {
"label": {
"en-GB": "Region title"
},
"control": "core/text",
"value": {
"en-GB": "Pacific",
"fr-FR": "Pacific"
}
}
}
}
},
"frontender": "db2364e3ec7c29e0c10d9baf9316f5b1"
}
],
"frontender": "2dfeb05f5222e31ff3b7e01e9a500e63"
},
{
"name": {
"en-GB": "Upcoming events"
},
"description": {
"en-GB": "Upcoming"
},
"template": "modules/events/upcoming/upcoming-events.html.twig",
"template_config": {
"labels": {
"label": {
"en-GB": "Labels"
},
"controls": {
"title": {
"label": {
"en-GB": "Title"
},
"control": "core/text",
"value": {
"en-GB": "Upcoming events",
"fr-FR": "Upcoming events"
}
}
}
},
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"limit": {
"value": 4,
"control": "core/hidden"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "8ee09e5e-db66-483f-a4ba-b1193e35a079"
}
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"container_class": {
"value": "wing--right",
"control": "project/container_class"
}
}
}
},
"frontender": "20335409a3c6033493d28c28c9a09543"
}
],
"frontender": "26432b519a871df127d72f16d0d0f04f"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment