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

Commit 015a8cd

Browse files
authored
Merge pull request #6810 from drpayyne/patch-60
Added default value for block cacheable attribute
2 parents d2f94f6 + c1eaeeb commit 015a8cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guides/v2.3/frontend-dev-guide/layouts/xml-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ We recommend always adding a `name` to blocks. Otherwise, it is given a random n
6767
| `after` | Used to position the block after an element under the same parent. The element name or alias name is specified in the value. Use dash (-) to position the block after all other elements of its level of nesting. See [before and after attributes](#fedg_xml-instrux_before-after) for details. | Element name or dash (-) | no |
6868
| `template` | A template that represents the functionality of the block to which this attribute is assigned. | `Vendor_Module::path/to/template.phtml` (Scope is already in the `templates` directory of the module) | no |
6969
| `as` | An alias name that serves as identifier in the scope of the parent element. | 0-9, A-Z, a-z, underscore (_), period (.), dash (-). Case-sensitive. | no |
70-
| `cacheable` | Defines whether a block element is cacheable. This can be used for development purposes and to make needed elements of the page dynamic. | `true` or `false` | no |
70+
| `cacheable` | Defines whether a block element is cacheable. This can be used for development purposes and to make needed elements of the page dynamic. | `true` or `false`. Defaults to `true`. | no |
7171
| `ifconfig` | Makes the block's visibility dependent on a system configuration field. | XPath to the system configuration field. E.g. `contact/contact/enabled` | no |
7272

7373
To pass parameters use the [`<argument></argument>`](#argument) instruction.

0 commit comments

Comments
 (0)