HBS_PROPERTY 

Reads a property from the current renderable, its view model, or the form runtime using \TYPO3Fluid\Fluid\Core\Variables\StandardVariableProvider::getByPath() . Returns whatever type the property holds (string, array, object, …).

Configuration

Name Type Default
string (none)
string renderable
path
Type
string
Default
(none)

Property path. Supports dotted-path notation for nested access (e.g. renderingOptions.foo ).

subject
Type
string
Default
renderable

The object to read from. One of:

  • renderable – the current EXT:form renderable (default)
  • viewModel – the view model built for this renderable
  • formRuntime – the form runtime instance

Example

renderableType = HBS_PROPERTY
renderableType.path = type

# Read from the view model instead
resourcePointerFields = HBS_PROPERTY
resourcePointerFields {
    subject = viewModel
    path = children.resourcePointerFields
}
Copied!