Skip to content

Instantly share code, notes, and snippets.

@ItsReaSz
Created September 28, 2018 09:46
Show Gist options
  • Save ItsReaSz/cfc7f7ac87b11ca0d8a4268d2ce9beb3 to your computer and use it in GitHub Desktop.
Save ItsReaSz/cfc7f7ac87b11ca0d8a4268d2ce9beb3 to your computer and use it in GitHub Desktop.
{
"name": {
"en-GB": "Project preview container"
},
"description": {
"en-GB": "Project previews from a single channel"
},
"template": "containers/global/group/group.html.twig",
"template_config": {
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"wings": {
"value": "wings",
"control": "project/wings"
},
"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": "article",
"control": "project/container_tag"
},
"container_class": {
"value": "",
"control": "project/container_class"
}
}
}
},
"containers": [
{
"name": {
"en-GB": "Container header"
},
"description": {
"en-GB": "Container-header"
},
"template": "containers/global/container-header/container-header.html.twig",
"template_config": {
"labels": {
"label": {
"en-GB": "Content"
},
"controls": {
"container_title": {
"value": {
"en-GB": "Title",
"fr-FR": "Tître"
},
"label": {
"en-GB": "Container title"
},
"control": "core/text"
}
}
},
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"show_margins": {
"value": "",
"control": "project/layout/show_margins"
},
"show_smaller_title": {
"value": 0,
"label": {
"en-GB": "Show small title"
},
"control": "core/boolean"
},
"container_class": {
"value": "",
"control": "project/container_class"
},
"container_tag": {
"value": "header",
"control": "project/container_tag"
}
}
}
},
"frontender": "0892a1a6fc74d4e0e407cd3d0964bafc"
},
{
"name": {
"en-GB": "Project tile"
},
"description": {
"en-GB": ""
},
"template": "containers/projects/preview/preview.html.twig",
"template_config": {
"config": {
"label": {
"en-GB": "Settings"
},
"controls": {
"container_class": {
"value": "trailer--hero trailer-inside--hero",
"control": "project/container_class"
},
"divider": {
"value": "divider divider--bottom",
"control": "project/divider"
}
}
},
"model": {
"label": {
"en-GB": "Content"
},
"controls": {
"data": {
"control": "project/model/event",
"value": {
"adapter": "SCR",
"model": "events",
"id": "ae9374a7-f48f-4707-8efa-4426769e8a56"
}
}
}
}
},
"frontender": "ed45d1cef439c44e72f052f6a536ccd4"
}
],
"frontender": "e168308e0d0d01c93bca9e6ef9f1daea"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment