Ejabberd.Config.EjabberdModule.validate

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

validate(modules)

Given a list of modules / single module it runs different validators on them.

For each module, returns a {:ok, mod} or {:error, mod, errors}