View Source Pow.Extension.Config (Pow v1.0.36)
Configuration helpers for extensions.
Summary
Functions
discover_modules(config, module_list)
deprecated
Finds all existing extension modules that matches the extensions and module list.
Fetches the :extensions
key from the configuration.
underscore_extension(extension)
deprecated
Returns a binary of the extension atom.
Functions
This function is deprecated. Use `extension_modules/2` instead.
Finds all existing extension modules that matches the extensions and module list.
This will iterate through all extensions appending the module list to the extension module and return a list of all modules that exists in the project.
@spec extensions(Pow.Config.t()) :: [atom()]
Fetches the :extensions
key from the configuration.
This function is deprecated. Create the namespace directly in your module.
Returns a binary of the extension atom.
This is usually used to create extension namespaces for functions to be used in shared modules.