mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-04 04:32:43 +01:00
eb673fd783
Summary: Ref T4103. Settings panels are grouped into categories of similar panels (like "Email" or "Sessions and Logs"). Currently, this is done informally, by just grouping and ordering by strings. This won't work well with translations, since it means the ordering is entirely dependent on the language order, so the first settings panel you see might be something irrelvant or confusing. We'd also potentially break third-party stuff by changing strings, but do so in a silent hard-to-detect way. Provide formal objects and modularize the panel groups completely. Test Plan: Verified all panels still appear properly and in the same groups and order. Reviewers: chad Reviewed By: chad Maniphest Tasks: T4103 Differential Revision: https://secure.phabricator.com/D16020
16 lines
295 B
PHP
16 lines
295 B
PHP
<?php
|
|
|
|
final class PhabricatorSettingsAuthenticationPanelGroup
|
|
extends PhabricatorSettingsPanelGroup {
|
|
|
|
const PANELGROUPKEY = 'authentication';
|
|
|
|
public function getPanelGroupName() {
|
|
return pht('Authentication');
|
|
}
|
|
|
|
protected function getPanelGroupOrder() {
|
|
return 300;
|
|
}
|
|
|
|
}
|