Skip to content

Administration - Submodules/Adminstick

This page documents the hooks defined by the submodules/adminstick submodule in the administration module.


AdminStickAddModels(modList)View Source

Purpose

Allows clientside code to add extra model entries to the admin stick model picker.

Realm

Client

Parameters

table modList The mutable list of model definitions shown by the admin stick UI.


OnAdminStickMenuClosed()View Source

Purpose

Called after the admin stick menu closes.

Realm

Client


OpenAdminStickUI(target)View Source

Purpose

Called when the admin stick requests its management UI for a target entity.

Realm

Client

Parameters

Entity target The entity targeted by the admin stick.


PopulateAdminStick(currentMenu, currentTarget, currentStores)View Source

Purpose

Allows clientside code to add option groups to the admin stick menu for the current target.

Realm

Client

Parameters

Panel currentMenu The admin stick menu panel being populated.

Entity currentTarget The entity currently targeted by the admin stick.

table currentStores The mutable list of grouped admin stick menu entries.