@@ -144,7 +144,7 @@ You can also:
144
144
The requirements for using filters with Pattern Lab:
145
145
146
146
* Files must go in ` source/_twig-components/filters `
147
- * Files must have the extension ` .filter.twig ` (_ this can be modified in the config_ )
147
+ * Files must have the extension ` .filter.php ` (_ this can be modified in the config_ )
148
148
* The filter ** must** set the variable ` $filter `
149
149
* Only one filter per file (_ e.g. can only set ` $filter ` once per file_ )
150
150
@@ -171,7 +171,7 @@ This filter would be used like this in a pattern:
171
171
The requirements for using functions with Pattern Lab:
172
172
173
173
* Files must go in ` source/_twig-components/functions `
174
- * Files must have the extension ` .function.twig ` (_ this can be modified in the config_ )
174
+ * Files must have the extension ` .function.php ` (_ this can be modified in the config_ )
175
175
* The function ** must** set the variable ` $function `
176
176
* Only one function per file (_ e.g. can only set ` $function ` once per file_ )
177
177
@@ -198,7 +198,7 @@ This function would be used like this in a pattern:
198
198
The requirements for using tests with Pattern Lab:
199
199
200
200
* Files must go in ` source/_twig-components/tests `
201
- * Files must have the extension ` .test.twig ` (_ this can be modified in the config_ )
201
+ * Files must have the extension ` .test.php ` (_ this can be modified in the config_ )
202
202
* The test ** must** set the variable ` $test `
203
203
* Only one test per file (_ e.g. can only set ` $test ` once per file_ )
204
204
@@ -242,7 +242,7 @@ Where the JSON for the data to set `shirt` would be:
242
242
The requirements for using tags with Pattern Lab:
243
243
244
244
* Files must go in ` source/_twig-components/tags `
245
- * Files must have the extension ` .tag.twig ` (_ this can be modified in the config_ )
245
+ * Files must have the extension ` .tag.php ` (_ this can be modified in the config_ )
246
246
* The filename ** must** be reflected in class names. (e.g. ` Project_{filename}_Node ` and ` Project_{filename}_TokenParser ` )
247
247
* Only one tag per file
248
248
0 commit comments