View Source Bonfire.UI.Common.SettingsModule behaviour (Bonfire v0.9.10-classic-beta.156)

Settings nav & components

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

Callbacks

@callback declared_component() :: any()

Declares a component component

@callback declared_nav() :: any()

Declares a nav module, with links or nav components

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, modules \\ nil)

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