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

Commit c0dc115

Browse files
mage2pratikshrielenee
authored andcommitted
Fixed a spelling mistake (#2453)
1 parent ad88bc1 commit c0dc115

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/v2.1/extension-dev-guide/extension_attributes/adding-attributes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function afterSave
9898
}
9999
{% endhighlight %}
100100

101-
But if some entity doesn't have implementation to fetch extension attributes, we will always retrieve `null` and each time when we fetch extension atrributes we need to check if they are `null` - need to create them. To avoid such code duplication, we need to create `afterGet` plugin for our entity with extension attributes.
101+
But if some entity doesn't have implementation to fetch extension attributes, we will always retrieve `null` and each time when we fetch extension attributes we need to check if they are `null` - need to create them. To avoid such code duplication, we need to create `afterGet` plugin for our entity with extension attributes.
102102

103103
Let's assume the product entity doesn't have any implementation of extension attributes, so our plugin might looks like this:
104104

0 commit comments

Comments
 (0)