Differential D18843 Diff 45203 src/applications/project/menuitem/PhabricatorProjectManageProfileMenuItem.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/menuitem/PhabricatorProjectManageProfileMenuItem.php
| Show All 12 Lines | private function getDefaultName() { | ||||
| return pht('Manage'); | return pht('Manage'); | ||||
| } | } | ||||
| public function canHideMenuItem( | public function canHideMenuItem( | ||||
| PhabricatorProfileMenuItemConfiguration $config) { | PhabricatorProfileMenuItemConfiguration $config) { | ||||
| return false; | return false; | ||||
| } | } | ||||
| public function canMakeDefault( | |||||
| PhabricatorProfileMenuItemConfiguration $config) { | |||||
| return true; | |||||
| } | |||||
| public function getDisplayName( | public function getDisplayName( | ||||
| PhabricatorProfileMenuItemConfiguration $config) { | PhabricatorProfileMenuItemConfiguration $config) { | ||||
| $name = $config->getMenuItemProperty('name'); | $name = $config->getMenuItemProperty('name'); | ||||
| if (strlen($name)) { | if (strlen($name)) { | ||||
| return $name; | return $name; | ||||
| } | } | ||||
| Show All 36 Lines | |||||