ejabberd v18.12.1 Ejabberd.Config.ValidatorUtility
Module used as a base validator for validation modules. Imports utility functions for working with validation structures.
Link to this section Summary
Functions
Given a list of modules it extracts and returns a list of the module names (which are Elixir.Module)
Inserts an error inside the errors collection, for the given key. If the key doesn't exists then it creates an empty collection and inserts the value passed
Link to this section Functions
Link to this function
extract_module_names(modules)
extract_module_names(modules)
extract_module_names(Ejabberd.Config.EjabberdModule.t()) :: [atom()]
extract_module_names(Ejabberd.Config.EjabberdModule.t()) :: [atom()]
Given a list of modules it extracts and returns a list of the module names (which are Elixir.Module).
Link to this function
put_error(errors, key, val)
Inserts an error inside the errors collection, for the given key. If the key doesn't exists then it creates an empty collection and inserts the value passed.