Ejabberd.Config.Validator.Dependencies.validate

You're seeing just the function validate, go back to Ejabberd.Config.Validator.Dependencies module for more information.

Specs

validate(mod_validation()) :: mod_validation()

Given a module (with the form used for validation) it checks if the @dependency annotation is respected and returns the validation tuple with the errors updated, if found.