Skip to content

Render: link

Available since: 1.1.0

Build a link element, optionally displaying its content as a modal or dialog.

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. Please provide the token name only, without brackets.

Element weight

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

Build mode
Title

The title of the link.
This field supports tokens.

URL

The link destination as a valid URL.
This field supports tokens.

Enforce absolute

This makes the destination URL of the link always absolute, also for relative and internal URLs.

Link type

Choose how the content of the link should be displayed. More about dialog types can be found here."

Width percentage

Specify the number of width percentage if the link content is being rendered in a modal or dialog.

Display link as