Skip to content

Render: add class

Plugin ID: eca_render_add_class

Available since: 2.0.0

Add a class to the attributes of an existing render array element. Only works when reacting upon a rendering event, such as Build form or Build ECA Block.

Fields

Machine name — config key: name

Specify the machine name / key of the render element.
This field supports tokens.

Type: textfield · Required: yes · Default: empty string

Class name — config key: class

The name of the class.
This field supports tokens.

Type: textfield · Required: yes · Default: empty string