Differential D16020 Diff 38572 src/applications/settings/panel/PhabricatorHomePreferencesSettingsPanel.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/panel/PhabricatorHomePreferencesSettingsPanel.php
| <?php | <?php | ||||
| final class PhabricatorHomePreferencesSettingsPanel | final class PhabricatorHomePreferencesSettingsPanel | ||||
| extends PhabricatorSettingsPanel { | extends PhabricatorSettingsPanel { | ||||
| public function getPanelKey() { | public function getPanelKey() { | ||||
| return 'home'; | return 'home'; | ||||
| } | } | ||||
| public function getPanelName() { | public function getPanelName() { | ||||
| return pht('Home Page'); | return pht('Home Page'); | ||||
| } | } | ||||
| public function getPanelGroup() { | public function getPanelGroupKey() { | ||||
| return pht('Application Settings'); | return PhabricatorSettingsApplicationsPanelGroup::PANELGROUPKEY; | ||||
| } | } | ||||
| public function processRequest(AphrontRequest $request) { | public function processRequest(AphrontRequest $request) { | ||||
| $user = $request->getUser(); | $user = $request->getUser(); | ||||
| $preferences = $user->loadPreferences(); | $preferences = $user->loadPreferences(); | ||||
| $apps = id(new PhabricatorApplicationQuery()) | $apps = id(new PhabricatorApplicationQuery()) | ||||
| ->setViewer($user) | ->setViewer($user) | ||||
| ▲ Show 20 Lines • Show All 171 Lines • Show Last 20 Lines | |||||