Changeset View
Changeset View
Standalone View
Standalone View
src/applications/home/engine/PhabricatorHomeProfileMenuEngine.php
Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | foreach ($applications as $application) { | ||||
); | ); | ||||
$items[] = $this->newItem() | $items[] = $this->newItem() | ||||
->setBuiltinKey($application->getPHID()) | ->setBuiltinKey($application->getPHID()) | ||||
->setMenuItemKey(PhabricatorApplicationProfileMenuItem::MENUITEMKEY) | ->setMenuItemKey(PhabricatorApplicationProfileMenuItem::MENUITEMKEY) | ||||
->setMenuItemProperties($properties); | ->setMenuItemProperties($properties); | ||||
} | } | ||||
// Hotlink to More Applications Launcher... | |||||
$items[] = $this->newItem() | $items[] = $this->newItem() | ||||
->setBuiltinKey(PhabricatorHomeConstants::ITEM_LAUNCHER) | ->setBuiltinKey(PhabricatorHomeConstants::ITEM_LAUNCHER) | ||||
->setMenuItemKey(PhabricatorHomeLauncherProfileMenuItem::MENUITEMKEY); | ->setMenuItemKey(PhabricatorHomeLauncherProfileMenuItem::MENUITEMKEY); | ||||
$items[] = $this->newDividerItem('tail'); | |||||
$items[] = $this->newManageItem(); | $items[] = $this->newManageItem(); | ||||
return $items; | return $items; | ||||
} | } | ||||
} | } |