Skip to content

Instantly share code, notes, and snippets.

@ItsReaSz
Created September 28, 2018 11:08
Show Gist options
  • Save ItsReaSz/f4a46d221c992cde1b603e982f83659a to your computer and use it in GitHub Desktop.
Save ItsReaSz/f4a46d221c992cde1b603e982f83659a to your computer and use it in GitHub Desktop.
{
"name": {
"en-GB": "Call-out"
},
"description": {
"en-GB": "Title and body with three stories"
},
"template": "containers/global/call-out/call-out.html.twig",
"template_config": {
"labels": {
"label": {
"en-GB": "Content",
"fr-FR": "Content"
},
"controls": {
"lead": {
"label": {
"en-GB": "Lead title"
},
"value": {
"en-GB": "Make a real difference in this world",
"fr-FR": "Make a real difference in this world"
},
"control": "core/text"
},
"body": {
"label": {
"en-GB": "Body text"
},
"value": {
"en-GB": "Our mission, vision and core values are at the heart of our organisation and they inspire and guide our people. Everyday.",
"fr-FR": "Our mission, vision and core values are at the heart of our organisation and they inspire and guide our people. Everyday."
},
"control": "core/textarea"
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"container_tag": {
"value": "aside",
"control": "project/container_tag"
},
"leader": {
"value": "",
"control": "project/leader"
},
"leader_inside": {
"value": "",
"control": "project/leader_inside"
},
"trailer": {
"value": "",
"control": "project/trailer"
},
"trailer_inside": {
"value": "",
"control": "project/trailer_inside"
},
"container_class": {
"value": "",
"control": "project/container_class"
}
}
},
"stories": {
"label": {
"en-GB": "Stories",
"fr-FR": "Stories"
},
"controls": {
"stories": {
"label": {
"en-GB": "Story"
},
"value": [
{
"caption": {
"en-GB": "People from different ACP and European countries",
"fr-FR": "People from different ACP and European countries"
},
"icon": "farmer-crop"
},
{
"caption": {
"en-GB": "Different languages spoken in our offices",
"fr-FR": "Different languages spoken in our offices"
},
"icon": "trees"
},
{
"caption": {
"en-GB": "Events attended in the last two years",
"fr-FR": "Events attended in the last two years"
},
"icon": "rural-school"
}
],
"type": "compound",
"controls": {
"caption": {
"label": {
"en-GB": "Caption"
},
"control": "core/text"
},
"icon": {
"label": {
"en-GB": "Story"
},
"control": "core/list",
"options": [
{
"value": "farmer-crop",
"label": {
"en-GB": "Farmer crop"
}
},
{
"value": "trees",
"label": {
"en-GB": "Trees"
}
},
{
"value": "rural-school",
"label": {
"en-GB": "Rural school"
}
}
]
}
},
"control": "core/abstract",
"repeatable": true,
"minimal": 3,
"maximum": 3
}
}
}
},
"frontender": "a65c1f87526e6bf983c8bdcf9f3515b0"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment