VBO: Form validate of Views bulk operation¶
Available since: 1.0.0
Provided tokens
| Token | Description |
|---|---|
[form] |
The current form. Alias: current_form |
[form:id] |
The form ID. |
[form:base_id] |
The form base ID. |
[form:operation] |
The form operation. |
[form:mode] |
The form mode. |
[form:triggered] |
The form field name that triggered the form event. |
[form:values] |
|
[form:values:FIELD_NAME] |
The field value for each of the named fields. |
[form:num_errors] |
The number of form errors. |
[event] |
The event. |
[event:view] |
The view config entity. |
[event:view:id] |
The view ID. |
[event:view:display_id] |
The display ID. |
[event:action] |
The action plugin. |
[event:action:plugin] |
The ID of the action plugin. |
[event:action:config] |
An array with key value pairs of the configuration of the plugin. |
[event] |
The event. |
[event:machine_name] |
The machine name of the ECA event. |
[session_user] |
The user account that dispatched the event, regardless if ECA is processing models under a different account. This is only available if ECA is configured to always run under a specific account. |
Fires when the VBO action's configuration form is being validated. Only fires if the configuration form was displayed (not skipped). Use this to validate user input collected during the form build step.
Fields¶
Operation name-
The operation name that identifies the bulk operation this event reacts to.
Optionally restrict by view ID-
Optionally restrict to a specific View by machine name. Leave empty to react to all Views. Comma-separated for multiple values.
Optionally restrict by view display ID-
Optionally restrict to a specific View display (e.g.,
page_1,block_1). Leave empty to react to all displays. Comma-separated for multiple values.