Skip to content

Render: alter link, set language

Plugin ID: eca_render_alter_link_set_language

Available since: 3.0.3

Alter a link element by setting its language.

Fields

Language — config key: langcode

The language code to be set. Select "undefined" to unset the language.
When using the "Defined by token" option, make sure there is a token with this name: eca_render_alter_link_set_language_langcode

Type: select · Required: no · Default: empty string

Allowed values depend on the configuration of the target site.

Value format: A language code enabled on the target site, for example en. The special value _interface means the current interface language.