Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Update ui_comp_data_source.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Hardik Gajjar committed Mar 1, 2019
1 parent 582d5ca commit 923208a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/v2.2/ui_comp_guide/concepts/ui_comp_data_source.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Remember that this data provider is still, technically speaking, a completely se
A good way to keep configuration data out of the javascript is to declare a "provider" in the base component's XML so it will be able to find that data provider component. Under the `<argument name="data" />` node, add a node like this (where `[ComponentName]` is the name of the component):

```xml
<item name="config" xsi:type="array">
<item name="js_config" xsi:type="array">
<item name="provider" xsi:type="string">[ComponentName].[ComponentName]_data_source</item>
</item>
```
Expand Down

0 comments on commit 923208a

Please sign in to comment.