Skip to content

Commit 5ac031c

Browse files
author
Jerry Lopez
committed
Move scaffold snippet to scaffold.json
1 parent 38e9436 commit 5ac031c

File tree

2 files changed

+14
-21
lines changed

2 files changed

+14
-21
lines changed

snippets/layout.json

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,4 @@
11
{
2-
/**
3-
*
4-
* All code in snippets retrieved from
5-
* http://devdocs.magento.com/guides/v2.1/frontend-dev-guide/layouts/xml-instructions.html
6-
*
7-
*/
8-
9-
/* Scaffolding */
10-
"Layout Scaffold": {
11-
"prefix": "m2.layout",
12-
"body": [
13-
"<?xml version=\"1.0\"?>",
14-
"<page xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:View/Layout/etc/page_configuration.xsd\">",
15-
"\t<body>",
16-
"\t\t$0",
17-
"\t</body>",
18-
"</page>"
19-
],
20-
"description": "Magento 2 layout scaffold"
21-
},
22-
232
/* Tags */
243
"Block": {
254
"prefix": "m2.layout.block",

snippets/layout/scaffold.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"Layout Scaffold": {
3+
"prefix": "m2.layout",
4+
"body": [
5+
"<?xml version=\"1.0\"?>",
6+
"<page xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:View/Layout/etc/page_configuration.xsd\">",
7+
"\t<body>",
8+
"\t\t$0",
9+
"\t</body>",
10+
"</page>"
11+
],
12+
"description": "Magento 2 layout scaffold"
13+
},
14+
}

0 commit comments

Comments
 (0)