VBO: Execute Views bulk operation (multiple at once)¶
Available since: 1.0.0
Provided tokens
| Token | Description |
|---|---|
[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:queue] |
The queued entities to process. |
[event:queue:count] |
The number of items in the queue. |
[event:queue:ids] |
The list of entity ids. |
[event:queue:revisions] |
The list of entity revision ids. |
[event:queue:items] |
The list of entities. |
[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 once with all selected entities before per-entity execution begins. The [event:queue] token provides access to the full list of selected entities.
Use this for batch-level operations (e.g., generating a single report, sending one notification for all entities, or pre-filtering the entity queue).
Fields¶
Operation name-
The operation name identifies this process and will show up in the bulk operations configuration form as selectable action. If you need custom access handling using the operation name, then make sure that the Views configuration is using the ECA bulk operations Views field plugin.
By using multiple execution (selected entities at once), you have following tokens available:- [event:view] containing info about the used view
- [event:action] containing info about the executed action
- [event:queue] containing info about the queued entities selected for processing
The operation name identifies this bulk operation. It will appear as a selectable action in the Views bulk operations configuration.
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.