Skip to content

Ajax Response: open off-canvas dialog

Plugin ID: eca_endpoint_set_ajax_response_open_off_canvas_dialog

Available since: 2.0.0

Fields

Position — config key: position

The position to render the off-canvas dialog.
When using the "Defined by token" option, make sure there is a token with this name: eca_endpoint_set_ajax_response_open_off_canvas_dialog_position

Type: select · Required: yes · Default: side

Allowed values: side, top, _eca_token

Title — config key: title

The title of the dialog.
This field supports tokens.

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

Content — config key: content

The content to be inserted.
This field supports tokens.

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

Dialog options — config key: options

Options in YAML format to be passed to the dialog implementation. Any jQuery UI option can be used. See https://api.jqueryui.com/dialog.
This field supports tokens.

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

Settings — config key: settings

Custom settings in YAML format that will be passed to the Drupal behaviors on the content of the dialog. If left empty, the settings will be populated automatically from the current request.
This field supports tokens.

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