Pow v1.0.20 Pow.Extension.Config View Source
Configuration helpers for extensions.
Link to this section 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.
Link to this section 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.
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 methods to be used in shared modules.