Changeset View
Changeset View
Standalone View
Standalone View
src/applications/home/menuitem/PhabricatorHomeProfileMenuItem.php
| <?php | <?php | ||||
| final class PhabricatorHomeProfileMenuItem | final class PhabricatorHomeProfileMenuItem | ||||
| extends PhabricatorProfileMenuItem { | extends PhabricatorProfileMenuItem { | ||||
| const MENUITEMKEY = 'home.dashboard'; | const MENUITEMKEY = 'home.dashboard'; | ||||
| public function getMenuItemTypeName() { | public function getMenuItemTypeName() { | ||||
| return pht('Home'); | return pht('Built-in Homepage'); | ||||
| } | } | ||||
| private function getDefaultName() { | private function getDefaultName() { | ||||
| return pht('Home'); | return pht('Home'); | ||||
| } | } | ||||
| public function canMakeDefault( | public function canMakeDefault( | ||||
| PhabricatorProfileMenuItemConfiguration $config) { | PhabricatorProfileMenuItemConfiguration $config) { | ||||
| ▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines | |||||