Changeset View
Changeset View
Standalone View
Standalone View
src/applications/home/menuitem/PhabricatorHomeProfileMenuItem.php
Show All 23 Lines | public function getDisplayName( | ||||
if (strlen($name)) { | if (strlen($name)) { | ||||
return $name; | return $name; | ||||
} | } | ||||
return $this->getDefaultName(); | return $this->getDefaultName(); | ||||
} | } | ||||
public function newPageContent() { | public function newPageContent( | ||||
PhabricatorProfileMenuItemConfiguration $config) { | |||||
$viewer = $this->getViewer(); | $viewer = $this->getViewer(); | ||||
return id(new PHUIHomeView()) | return id(new PHUIHomeView()) | ||||
->setViewer($viewer); | ->setViewer($viewer); | ||||
} | } | ||||
public function buildEditEngineFields( | public function buildEditEngineFields( | ||||
PhabricatorProfileMenuItemConfiguration $config) { | PhabricatorProfileMenuItemConfiguration $config) { | ||||
Show All 28 Lines |