VBO Validation

Categories

Component ID

2513342

Component name

VBO Validation

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

459

Component created

Component changed

Component body

VBO Validation is a module that provides hooks to add validation between the execution of a VBO and its form or confirmation step.

Adding validation to prevent a VBO from executing is easy when you have a form step. But without a custom form, adding a validate function is a delicate exercise of making your module invoke last, form altering, checking for the existence of certain form elements and actions, and then adding your validation hook.

Here is a shortcut to that process!

This module will provide you with two hooks:

* hook_vbo_validation_validate - Perform validations before the confirmation step of a VBO is fired.

* hook_vbo_validation_ACTION_ID_validate - Provide a VBO-specific validation instead of the global hook_vbo_validation_validate().