Skip to content

Commit

Permalink
Updating readme with link to example file
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanLovely authored Feb 5, 2018
1 parent b6f6297 commit 1934ca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ foreach ($twigExtensions as $twigExtension) {

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.

For an example of how this works, see `ExampleTwigExtension.php` in this repo. You can enable it by adding this to your `config.yml`:
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`:

```yml
twigExtensions:
Expand Down

0 comments on commit 1934ca0

Please sign in to comment.