View Source Bonfire.Common.SettingsModule behaviour (bonfire_umbrella v0.3.6-classic-beta.7)

Settings nav & components

Link to this section Summary

Callbacks

Declares a component component

Declares a nav module, with links or nav components

Functions

Load all components at once

Load components for an extension

List extensions that have settings component(s)

Get components identified by their module

Load all navs

Get navs for an extension

Link to this section Callbacks

@callback declared_component() :: any()

Declares a component component

@callback declared_nav() :: any()

Declares a nav module, with links or nav components

Link to this section Functions

Link to this function

component_function_error(error, args)

View Source

Load all components at once

Load components for an extension

Link to this function

extension_has_components?(extension)

View Source

List extensions that have settings component(s)

@spec modules() :: [atom()]

Callback implementation for Bonfire.Common.ExtensionBehaviour.modules/0.

Link to this function

modules_component(modules)

View Source

Get components identified by their module