Get an ItemList of all extensions' registered permissions
Get a singular extension's registered permissions
Returns an extension's custom page component if it exists.
Get an extension's registered settings sections, in priority order.
An extension's settings split into their sections, in display order.
A setting without a known section joins the section of the setting before
it, so one added between two settings of a section stays where it was
shown before sections existed. Settings before the first sectioned one
form a leading group with a null section.
Where a setting is shown on its extension's page: its section and the tab that section is on.
Settings in the leading group, before any section, are shown on the first tab.
Optionaljson?: booleanOptionallink?: stringOptional: The URL to navigate to when this setting appears in admin search. The default is the group link, then the page or extension route.
OptionalrefreshAfterSaving?: booleanOptionalsection?: stringThe id of the settings section to show this setting in.
Optionaljson?: booleanOptionallink?: stringOptional: The URL to navigate to when this setting appears in admin search. The default is the group link, then the page or extension route.
OptionalrefreshAfterSaving?: booleanOptionalsection?: stringThe id of the settings section to show this setting in.
Optionaljson?: booleanOptionallink?: stringOptional: The URL to navigate to when this setting appears in admin search. The default is the group link, then the page or extension route.
OptionalrefreshAfterSaving?: booleanOptionalsection?: stringThe id of the settings section to show this setting in.
Optionaljson?: booleanOptionallink?: stringOptional: The URL to navigate to when this setting appears in admin search. The default is the group link, then the page or extension route.
OptionalrefreshAfterSaving?: booleanOptionalsection?: stringThe id of the settings section to show this setting in.
Optionaljson?: booleanOptionallink?: stringOptional: The URL to navigate to when this setting appears in admin search. The default is the group link, then the page or extension route.
OptionalrefreshAfterSaving?: booleanOptionalsection?: stringThe id of the settings section to show this setting in.
Optionaljson?: booleanOptionallink?: stringOptional: The URL to navigate to when this setting appears in admin search. The default is the group link, then the page or extension route.
OptionalrefreshAfterSaving?: booleanOptionalsection?: stringThe id of the settings section to show this setting in.
Optionaljson?: booleanOptionallink?: stringOptional: The URL to navigate to when this setting appears in admin search. The default is the group link, then the page or extension route.
OptionalrefreshAfterSaving?: booleanOptionalsection?: stringThe id of the settings section to show this setting in.
Optionaljson?: booleanOptionallink?: stringOptional: The URL to navigate to when this setting appears in admin search. The default is the group link, then the page or extension route.
OptionalrefreshAfterSaving?: booleanOptionalsection?: stringThe id of the settings section to show this setting in.
Optionaljson?: booleanOptionallink?: stringOptional: The URL to navigate to when this setting appears in admin search. The default is the group link, then the page or extension route.
OptionalrefreshAfterSaving?: booleanOptionalsection?: stringThe id of the settings section to show this setting in.
Get an extension's registered settings
Get an extension's registered settings tabs, in priority order.
Replace the default extension page with a custom component. This component would typically extend ExtensionPage
This function registers your permission with Flarum
Registers a titled group of settings. Settings join it through their section key.
This function registers your settings with Flarum
It takes either a settings object or a callback.
Registers a tab on the extension's settings page. Sections join it through their tab key.
Once a page has a tab, the extension's permissions move into a tab of their own.
This function allows you to remove a permission.
This function allows you to remove a setting.
This function allows you to change the configuration of a permission.
This function allows you to change the priority of a permission.
This function allows you to change the configuration of a setting.
This function allows you to change the priority of a setting.
Checks whether a given extension has registered permissions.