Skip to content

Render: cacheability

Available since: 1.1.0

Add cacheability metadata to a render array. Only works when reacting upon a rendering event, such as "Build form" or "Build ECA Block".

Fields

Type

Click here to get more info about cacheability metadata.
When using the "Defined by token" option, make sure there is a token with this name: eca_render_cacheability_cache_type

Value

Separate multiple values with commas. When using Max age, the value must be a valid number (integer).
This field supports tokens.