class AdminPayload
Methods
The names of the queues currently paused on the active connection — powers the dashboard warning and the Advanced page toggle, regardless of the queue backend in use.
No description
The token types whose lifetime an administrator may change, with the lifetime each currently has.
Details
at
line 44
protected array
pausedQueues()
The names of the queues currently paused on the active connection — powers the dashboard warning and the Advanced page toggle, regardless of the queue backend in use.
at
line 70
protected array
sortMaps()
The sort options each resource offers, keyed by resource type.
The forum already receives this, as it is what the sort dropdown is built from and how `?sort=newest` in a URL becomes `-createdAt` for the API. The admin side needs the same list wherever it offers sorting as a setting, and assembling one in JavaScript would mean a second copy that silently omits whatever sorts extensions have added. Only aliased sorts appear: a sort without one is perfectly usable through the API, but has no name to put in front of an administrator. Resources with nothing to offer are left out rather than published empty.
at
line 91
__construct( Container $container, SettingsRepositoryInterface $settings, ExtensionManager $extensions, ConnectionInterface $db, Dispatcher $events, Config $config, ApplicationInfoProvider $appInfo, MaintenanceMode $maintenance, FontAwesome $fontAwesome, SessionConfig $sessionConfig)
at
line 114
protected array
accessTokenLifetimes()
The token types whose lifetime an administrator may change, with the lifetime each currently has.
Built from the registry rather than a fixed list, so a type added by an extension is offered alongside the ones core ships.