Skip to content

Instantly share code, notes, and snippets.

@ItsReaSz
Created September 27, 2018 08:37
Show Gist options
  • Select an option

  • Save ItsReaSz/bed1306d73db33856cc22fb8e80141a0 to your computer and use it in GitHub Desktop.

Select an option

Save ItsReaSz/bed1306d73db33856cc22fb8e80141a0 to your computer and use it in GitHub Desktop.
{
"name": {
"en-GB": "Press"
},
"description": {
"en-GB": "Press article and media tiles"
},
"template": "containers/articles/press/press.html.twig",
"template_config": {
"header": {
"label": {
"en-GB": "Labels"
},
"controls": {
"articles": {
"value": {
"container_title": {
"en-GB": "Press",
"fr-FR": "Press"
},
"wings": "wings",
"show_margins": "container-header--slim-fit",
"divider": "divider divider--top",
"leader_inside": "leader-inside--hero",
"trailer_inside": "trailer-inside--hero"
},
"type": "compound",
"label": {
"en-GB": "Articles header"
},
"controls": {
"container_title": {
"label": {
"en-GB": "Title"
},
"control": "core/text"
},
"wings": {
"control": "core/hidden"
},
"show_margins": {
"control": "core/hidden"
},
"divider": {
"control": "core/hidden"
},
"leader_inside": {
"control": "core/hidden"
},
"trailer_inside": {
"control": "core/hidden"
}
},
"control": "core/abstract"
},
"media": {
"value": {
"container_title": {
"en-GB": "Photos and videos",
"fr-FR": "Photos and videos"
},
"wings": "wings",
"show_margins": "container-header--slim-fit",
"divider": "divider divider--top",
"leader_inside": "leader-inside--hero",
"trailer_inside": "trailer-inside--hero"
},
"type": "compound",
"label": {
"en-GB": "Articles header"
},
"controls": {
"container_title": {
"label": {
"en-GB": "Title"
},
"control": "core/text"
},
"wings": {
"control": "core/hidden"
},
"show_margins": {
"control": "core/hidden"
},
"divider": {
"control": "core/hidden"
},
"leader_inside": {
"control": "core/hidden"
},
"trailer_inside": {
"control": "core/hidden"
}
},
"control": "core/abstract"
},
"title": {
"label": {
"en-GB": "Twitter title",
"fr-FR": "Twitter title"
},
"value": {
"en-GB": "CTA Flash",
"fr-FR": "CTA Flash"
},
"control": "core/text"
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"leader": {
"value": "",
"control": "project/leader"
},
"leader_inside": {
"value": "",
"control": "project/leader_inside"
},
"trailer": {
"value": "",
"control": "project/trailer"
},
"trailer_inside": {
"value": "",
"control": "project/trailer_inside"
},
"divider": {
"value": "",
"control": "project/divider"
},
"container_tag": {
"value": "div",
"control": "project/container_tag"
},
"container_class": {
"value": "",
"control": "project/container_class"
},
"layout": {
"value": "layout",
"label": {
"en-GB": "Layout"
},
"control": "project/layout/layout"
},
"show_divider": {
"value": 0,
"control": "project/layout/show_divider"
},
"show_narrow": {
"value": 0,
"control": "project/layout/show_narrow"
},
"show_outer_wing": {
"value": 1,
"control": "project/layout/show_outer_wing"
}
}
},
"tab_config": {
"label": {
"en-GB": "Tab settings"
},
"controls": {
"selector": {
"value": ".panel-group",
"control": "core/text"
},
"children": {
"value": ".panel",
"control": "core/text"
},
"attribute": {
"value": "href",
"control": "core/text"
},
"allow_multiple": {
"value": 0,
"label": {
"en-GB": "Allow multiple open panels"
},
"control": "core/boolean"
},
"open_first": {
"value": 1,
"label": {
"en-GB": "Open the first panel"
},
"control": "core/boolean"
},
"scroll_to": {
"value": 1,
"label": {
"en-GB": "Scroll to open panel"
},
"control": "core/boolean"
}
}
},
"model": {
"label": {
"en-GB": "Content",
"fr-FR": "Content"
},
"controls": {
"hashtag": {
"value": "CTAFlash",
"control": "core/text"
},
"limit": {
"value": 20,
"control": "core/number"
},
"data": {
"control": "project/model/twitters",
"value": {
"adapter": "SCR",
"model": "twitter"
}
}
}
}
},
"containers": [
{
"name": {
"en-GB": "Communiqués"
},
"description": {
"en-GB": ""
},
"template": "modules/articles/post-tiles/post-tiles--article.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"limit": {
"value": "6",
"control": "project/model/limit"
},
"articleType": {
"value": "communique",
"control": "project/model/article_type"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "fa50aaeb-bab6-4cd2-9d5b-39fdb824d21e"
}
}
}
},
"labels": {
"label": {
"en-GB": "Labels"
},
"controls": {
"panel_title": {
"value": {
"en-GB": "Communiqués",
"fr-FR": "Communiqués"
},
"label": {
"en-GB": "Title"
},
"control": "core/text"
}
}
},
"config": {
"controls": {
"active": {
"value": 1,
"label": {
"en-GB": "Open tab"
},
"control": "project/show"
},
"tab_class": {
"value": "",
"label": {
"en-GB": "Tab class"
},
"control": "project/container_class"
},
"panel_class": {
"value": "",
"label": {
"en-GB": "Panel class"
},
"control": "project/container_class"
}
}
}
},
"frontender": "aa6b38f8d32f05ba0c3b62af59c5d154"
},
{
"name": {
"en-GB": "Speeches"
},
"description": {
"en-GB": ""
},
"template": "modules/articles/post-tiles/post-tiles--article.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"limit": {
"value": "6",
"control": "project/model/limit"
},
"articleType": {
"value": "speech",
"control": "project/model/article_type"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "fa50aaeb-bab6-4cd2-9d5b-39fdb824d21e"
}
}
}
},
"labels": {
"label": {
"en-GB": "Labels"
},
"controls": {
"panel_title": {
"value": {
"en-GB": "Speeches",
"fr-FR": "Speeches"
},
"label": {
"en-GB": "Title"
},
"control": "core/text"
}
}
},
"config": {
"controls": {
"active": {
"value": 0,
"label": {
"en-GB": "Open tab"
},
"control": "project/show"
},
"tab_class": {
"value": "",
"label": {
"en-GB": "Tab class"
},
"control": "project/container_class"
},
"panel_class": {
"value": "",
"label": {
"en-GB": "Panel class"
},
"control": "project/container_class"
}
}
}
},
"frontender": "a88b09075a626abf92048c7060d74a3d"
},
{
"name": {
"en-GB": "Stories"
},
"description": {
"en-GB": ""
},
"template": "modules/articles/post-tiles/post-tiles--article.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"limit": {
"value": "6",
"control": "project/model/limit"
},
"articleType": {
"value": "blog",
"control": "project/model/article_type"
},
"data": {
"control": "project/model/channel",
"value": {
"adapter": "SCR",
"model": "channels",
"id": "fa50aaeb-bab6-4cd2-9d5b-39fdb824d21e"
}
}
}
},
"labels": {
"label": {
"en-GB": "Labels"
},
"controls": {
"panel_title": {
"value": {
"en-GB": "Stories",
"fr-FR": "Stories"
},
"label": {
"en-GB": "Title"
},
"control": "core/text"
}
}
},
"config": {
"controls": {
"active": {
"value": 0,
"label": {
"en-GB": "Open tab"
},
"control": "project/show"
},
"tab_class": {
"value": "",
"label": {
"en-GB": "Tab class"
},
"control": "project/container_class"
},
"panel_class": {
"value": "",
"label": {
"en-GB": "Panel class"
},
"control": "project/container_class"
}
}
}
},
"frontender": "a9c29963535fd8fd657414a0b108d326"
}
],
"frontender": "0424fb014192d3fc989166355a909143"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment