The class each of this registry's content is expected to be an instance of.
Static_An array of data used to initialize this registry.
StaticmodelThe class each of this registry's content is expected to be an instance of.
Returns all actions for the given ability.
The ability to which these actions are associated.
The sub-actions associated to the ability.
Returns an object of the registry's contents, with the id as key and the name as value.
Optionaloptions: { sort?: boolean } = {}Additional options
Optionalsort?: booleanSort result
The names of each value in the registry, by id
ProtectedlocalizeProtectedLocalize registry and all their entries.
Called in i18nInit.
Registers a new instance of Model with the registry, using a partial of its data as the base.
The namespace for which this value is registered.
The unique key of the value.
A Partial of the data to use as the base for the new value.
The registry itself, after the value has been registered.
Protected AbstractsetupProtectedPost-registry initialization entry preparation
Returns the contents of this registry as object, using ids as keys.
Optionalsource: boolean = falseWhether to include the source data instead of its prepared data for each value.
The data of each value in the registry, by id
Unregisters a value from the registry, or if no id is provided, all values belonging to the namespace.
The namespace for which this value is unregistered.
Optionalid: stringThe unique key of the value, or undefined to unregister all values belonging to the namespace.
The singleton registry of ability checks sub-actions.
At runtime this registry is accessible as
pf1.registry.abilityChecks.See