This repository was archived by the owner on Nov 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/guides/v2.3/howdoi/checkout Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ To disable the component in your `checkout_index_index.xml` use the following in
154
154
155
155
## Remove a component {#remove}
156
156
157
- If you want to keep a component from being rendered, you need to create a layout processor. A layout processor consists of a class, implementing
157
+ To keep a component from being rendered, create a layout processor. A layout processor consists of a class, implementing
158
158
the ` \Magento\Checkout\Block\Checkout\LayoutProcessorInterface ` interface, and thus a ` LayoutProcessorInterface::process($jsLayout) ` method.
159
159
160
160
``` php
@@ -179,7 +179,7 @@ class OurLayoutProcessor implements LayoutProcessorInterface
179
179
}
180
180
```
181
181
182
- Once created you can add the layout processor through Dependency Injection (DI).
182
+ Once created, add the layout processor through Dependency Injection (DI).
183
183
184
184
``` xml
185
185
<?xml version =" 1.0" ?>
@@ -194,7 +194,7 @@ Once created you can add the layout processor through Dependency Injection (DI).
194
194
</config >
195
195
```
196
196
197
- If you want to use this sample in your code, replace the ` %path_to_target_node% ` placeholder with real value.
197
+ To use this sample in your code, replace the ` %path_to_target_node% ` placeholder with real value.
198
198
199
199
{:.bs-callout-info}
200
- Disable vs remove a component: If you disable a component, it is loaded but not rendered. If you remove a component, it is removed and not loaded.
200
+ Disable vs remove a component: A disabled component is loaded but not rendered. If you remove a component, it is removed and not loaded.
You can’t perform that action at this time.
0 commit comments