Skip to content

Render: file contents

Available since: 1.1.0

Fields

Machine name

Optionally define a machine name of this render element. It will be made available under that name in the render array of the current event in scope. Nested elements can be set with using "][" brackets, for example details][title.

Token name

Optionally define a token name of this render element. It will be made available under that token name for later usage.

Element weight

Optionally specify an element weight. The lower the weight, the element appears before other elements having a higher weight.

Build mode
URI

Either the relative path of the file or a full URL.

Encoding
Token name for MIME type

Optionally define the name of a token, that stores the detected MIME type of the file.