Skip to content

Instantly share code, notes, and snippets.

@ItsReaSz
Created September 28, 2018 09:41
Show Gist options
  • Save ItsReaSz/2cfbfc991ba2205faa3bbba0b2dc21d0 to your computer and use it in GitHub Desktop.
Save ItsReaSz/2cfbfc991ba2205faa3bbba0b2dc21d0 to your computer and use it in GitHub Desktop.
{
"name": {
"en-GB": "Hero with story and headline"
},
"description": {
"en-GB": "A hero container with title and an optional story"
},
"template": "containers/media/headline/headline-static.html.twig",
"template_config": {
"model": {
"label": {
"en-GB": "Image",
"fr-FR": "Image"
},
"controls": {
"data": {
"control": "project/model/media",
"value": {
"adapter": "SCR",
"model": "media",
"id": "967af8af-892d-42c6-9d93-454c2813b925"
}
}
}
},
"content": {
"label": {
"en-GB": "Content"
},
"controls": {
"title": {
"value": {
"en-GB": "Title",
"fr-FR": "Titre"
},
"label": {
"en-GB": "Headline"
},
"control": "core/text"
},
"subtitle": {
"value": {
"en-GB": "Subtitle or tagline",
"fr-FR": "Sous titre"
},
"label": {
"en-GB": "Subtitle"
},
"control": "core/text"
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"container_tag": {
"value": "figure",
"control": "project/container_tag"
},
"crown": {
"value": "",
"control": "project/crown"
},
"leader": {
"value": "",
"control": "project/leader"
},
"trailer": {
"value": "",
"control": "project/trailer"
},
"show_greenshoot": {
"value": 1,
"label": {
"en-GB": "Show story"
},
"control": "project/show"
},
"show_divider": {
"value": 1,
"label": {
"en-GB": "Show divider"
},
"control": "project/show"
},
"show_image_info": {
"value": 1,
"label": {
"en-GB": "Show image credits"
},
"control": "project/show"
},
"container_class": {
"value": "",
"control": "project/container_class"
}
}
}
},
"containers": [
{
"name": {
"en-GB": "Greenshoot"
},
"description": {
"en-GB": "Greenshoot"
},
"template": "modules/global/greenshoot/greenshoot.html.twig",
"template_config": {
"content": {
"label": {
"en-GB": "Greenshoot"
},
"controls": {
"title": {
"value": {
"en-GB": "",
"fr-FR": ""
},
"label": {
"en-GB": "Title"
},
"control": "core/text"
},
"figure": {
"value": {
"en-GB": "60",
"fr-FR": "60"
},
"label": {
"en-GB": "Figure"
},
"control": "core/text"
},
"caption": {
"value": {
"en-GB": "different nationalities from ACP and EU countries",
"fr-FR": "different nationalities from ACP and EU countries"
},
"label": {
"en-GB": "Caption"
},
"control": "core/textarea"
},
"story": {
"value": "globe-plane",
"label": {
"en-GB": "Story"
},
"control": "project/story"
}
}
}
},
"frontender": "56ff8ac6d6b8fd25b707439f717035a2"
}
],
"frontender": "16b6daadc4973cfeabb64a38b873099d"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment