Differential D20355 Diff 48606 src/applications/search/menuitem/PhabricatorManageProfileMenuItem.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/search/menuitem/PhabricatorManageProfileMenuItem.php
<?php | <?php | ||||
final class PhabricatorManageProfileMenuItem | final class PhabricatorManageProfileMenuItem | ||||
extends PhabricatorProfileMenuItem { | extends PhabricatorProfileMenuItem { | ||||
const MENUITEMKEY = 'menu.manage'; | const MENUITEMKEY = 'menu.manage'; | ||||
public function getMenuItemTypeName() { | public function getMenuItemTypeName() { | ||||
return pht('Manage Menu'); | return pht('Manage Menu'); | ||||
} | } | ||||
private function getDefaultName() { | private function getDefaultName() { | ||||
return pht('Edit Menu'); | return pht('Edit Menu'); | ||||
} | } | ||||
public function getMenuItemTypeIcon() { | |||||
return 'fa-pencil'; | |||||
} | |||||
public function canHideMenuItem( | public function canHideMenuItem( | ||||
PhabricatorProfileMenuItemConfiguration $config) { | PhabricatorProfileMenuItemConfiguration $config) { | ||||
return false; | return false; | ||||
} | } | ||||
public function canMakeDefault( | public function canMakeDefault( | ||||
PhabricatorProfileMenuItemConfiguration $config) { | PhabricatorProfileMenuItemConfiguration $config) { | ||||
return false; | return false; | ||||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |