Skip to content

Commit 3d395ba

Browse files
committed
Update README
1 parent 2ae8f6b commit 3d395ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Data Transform Plugin for Pattern Lab PHP
1+
# Data Transform Plugin for Pattern Lab
22

33
This plugin now only works with Twig PatternEngine. You can use old 0.x versions of the plugin for Mustache PatternEngine.
44

@@ -16,7 +16,7 @@ composer require aleksip/plugin-data-transform
1616

1717
### Pattern-specific data file support for included patterns
1818

19-
Pattern Lab currently only supports global data files and a pattern-specific data file for the main pattern. This plugin adds pattern-specific data file support for included patterns.
19+
Pattern Lab core only supports global data files and a pattern-specific data file for the main pattern. This plugin adds pattern-specific data file support for included patterns.
2020

2121

2222
### Data transform functions
@@ -92,7 +92,7 @@ The value of `key` will be replaced with an [Attribute object](https://www.drupa
9292

9393
## Global data and includes
9494

95-
If you are using global data from the `_data` directory and includes (in data files or Twig templates) please note that 1) pattern-specific data overwrites data from parent patterns by default and that 2) global data for an included pattern is considered to be pattern-specific data. If you want to override pattern-specific data of an included pattern you can do that by using the `with` keyword.
95+
Please note that global data from the `_data` directory is considered to be pattern-specific data and will overwrite data inherited from a parent pattern. If you want to override data of an included pattern you can use the `with` keyword.
9696

9797

9898
## More examples

0 commit comments

Comments
 (0)