@@ -144,7 +144,7 @@ You can also:
144144The requirements for using filters with Pattern Lab:
145145
146146* 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_ )
148148* The filter ** must** set the variable ` $filter `
149149* Only one filter per file (_ e.g. can only set ` $filter ` once per file_ )
150150
@@ -171,7 +171,7 @@ This filter would be used like this in a pattern:
171171The requirements for using functions with Pattern Lab:
172172
173173* 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_ )
175175* The function ** must** set the variable ` $function `
176176* Only one function per file (_ e.g. can only set ` $function ` once per file_ )
177177
@@ -198,7 +198,7 @@ This function would be used like this in a pattern:
198198The requirements for using tests with Pattern Lab:
199199
200200* 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_ )
202202* The test ** must** set the variable ` $test `
203203* Only one test per file (_ e.g. can only set ` $test ` once per file_ )
204204
@@ -242,7 +242,7 @@ Where the JSON for the data to set `shirt` would be:
242242The requirements for using tags with Pattern Lab:
243243
244244* 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_ )
246246* The filename ** must** be reflected in class names. (e.g. ` Project_{filename}_Node ` and ` Project_{filename}_TokenParser ` )
247247* Only one tag per file
248248
0 commit comments