views_group_action
49 sites
No security coverage
This module allows you to perform actions on grouped results.
"Action" is a plugin and you can create your own.
Supports such default Views styles:
- Table
- Grid
- HTML List
- Unformatted list
Also supports styles from such modules:
How to use:
- Choose one of the view styles which has "(Group Action)" suffix.
- Go to the settings form for the chosen style and choose a "Grouping field". The new form element ("Select action for grouped entities") will appear.
- Choose an "Action" in the "Select action for grouped entities" list.
Create own plugin:
You can easily create your own plugin. Please, see the "Resave Entity" plugin for an example of the "form" plugin.
But it doesn’t have to be a form. You can build any renderable element you want.
For getting view result rows which are related to the group see ActionFormBase::getResultEntities().