Skip to content

Commit 1934ca0

Browse files
authored
Updating readme with link to example file
1 parent b6f6297 commit 1934ca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ foreach ($twigExtensions as $twigExtension) {
342342

343343
If two Twig Extensions declare a function, filter, etc; the later ones override earlier ones. Any ones declared in Pattern Lab's `_twig-components` folder will override any declared using this method of custom Twig Extensions.
344344

345-
For an example of how this works, see `ExampleTwigExtension.php` in this repo. You can enable it by adding this to your `config.yml`:
345+
For an example of how this works, see [`ExampleTwigExtension.php` in this repo](https://github.com/pattern-lab/patternengine-php-twig/blob/develop/src/PatternLab/PatternEngine/Twig/ExampleTwigExtension.php). You can enable it by adding this to your `config.yml`:
346346

347347
```yml
348348
twigExtensions:

0 commit comments

Comments
 (0)