Ejabberd.Config.Validation.validate

You're seeing just the function validate, go back to Ejabberd.Config.Validation module for more information.
Link to this function

validate(modules)

Specs

Given a module or a list of modules it runs validators on them and returns {:ok, mod} or {:error, mod, errors}, for each of them.