To improve the developer experience, as well making several desired customizations feasible it'd be nice to allow actions to define a custom class which VBO utilize for the operation.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kerasai created an issue. See original summary.

kerasai’s picture

Status: Active » Needs review
FileSize
1.67 KB

This patch adds an extra, optional element to the hook_action_info() data that VBO uses. This extra element identifies the class name of the desired $operation object used throughout the VBO process. If this element is not set or the class is not available, then the operation reverts to the standard ViewsBulkOperationsAction class.

kerasai’s picture

FileSize
1.68 KB
826 bytes

Noticed the previous patch wasn't working quite right. Somehow missed a bit to get the specified class to load.