Pow v1.0.8 Pow.Extension.Config View Source
Configuration helpers for extensions.
Link to this section Summary
Functions
Finds all extensions that has a module matching the provided module list
Fetches the :extensions
key from the configuration
underscore_extension(extension)
deprecated
Returns a binary of the extension atom
Link to this section Functions
Link to this function
discover_modules(config, module_list)
View Source
discover_modules(config, module_list)
View Source
discover_modules(Pow.Config.t(), [any()]) :: [atom()]
discover_modules(Pow.Config.t(), [any()]) :: [atom()]
Finds all extensions that has a module matching the provided module list.
It'll concat the extension atom with the module list, and return a list of all modules that is available in the project.
Link to this function
extensions(config)
View Source
extensions(config)
View Source
extensions(Pow.Config.t()) :: [atom()]
extensions(Pow.Config.t()) :: [atom()]
Fetches the :extensions
key from the configuration.
Link to this function
underscore_extension(extension) View Source
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 methods to be used in shared modules.