Changeset View
Changeset View
Standalone View
Standalone View
src/applications/help/application/PhabricatorHelpApplication.php
| Show All 37 Lines | public function buildMainMenuItems( | ||||
| $help_id = celerity_generate_unique_node_id(); | $help_id = celerity_generate_unique_node_id(); | ||||
| Javelin::initBehavior( | Javelin::initBehavior( | ||||
| 'aphlict-dropdown', | 'aphlict-dropdown', | ||||
| array( | array( | ||||
| 'bubbleID' => $help_id, | 'bubbleID' => $help_id, | ||||
| 'dropdownID' => 'phabricator-help-menu', | 'dropdownID' => 'phabricator-help-menu', | ||||
| 'applicationClass' => 'PhabricatorHelpApplication', | 'applicationClass' => __CLASS__, | ||||
| 'local' => true, | 'local' => true, | ||||
| 'desktop' => true, | 'desktop' => true, | ||||
| 'right' => true, | 'right' => true, | ||||
| )); | )); | ||||
| $item = id(new PHUIListItemView()) | $item = id(new PHUIListItemView()) | ||||
| ->setIcon('fa-life-ring') | ->setIcon('fa-life-ring') | ||||
| ->addClass('core-menu-item') | ->addClass('core-menu-item') | ||||
| ▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines | |||||