RUAL Documentation

ol foreach

This block is part of the state ui group and was last modified in core v13.0.7.

ol foreach v13.0.7

Serves as a dynamic ol container.

Pin Pin Type Default
arrayrequired
This array is the source of data for generating the individual elements.
array
state keyrequired
This state key is the source of data for generating the individual elements.
value
class
Assigns a CSS class to the element.
uiclass
style
Applies inline CSS style to the element
uistyle
attributes
Adds custom attributes to the element.
uiattributes
Pin Pin Type Example
state
Returns the element to the frontend state.
state
iterator
Allows you to execute a custom function to determine the content of each element.
execute_function

Core Releases

v13.0.7 This block was introduced in v13.0.7, click here to see the release notes.
Back to state ui Return to the main group to view all sub-groups Back to state elements Return to the group to view all blocks within this group