Differential D20006 Diff 47807 src/applications/settings/panel/PhabricatorEmailPreferencesSettingsPanel.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/panel/PhabricatorEmailPreferencesSettingsPanel.php
<?php | <?php | ||||
final class PhabricatorEmailPreferencesSettingsPanel | final class PhabricatorEmailPreferencesSettingsPanel | ||||
extends PhabricatorSettingsPanel { | extends PhabricatorSettingsPanel { | ||||
public function getPanelKey() { | public function getPanelKey() { | ||||
return 'emailpreferences'; | return 'emailpreferences'; | ||||
} | } | ||||
public function getPanelName() { | public function getPanelName() { | ||||
return pht('Email Preferences'); | return pht('Email Preferences'); | ||||
} | } | ||||
public function getPanelMenuIcon() { | |||||
return 'fa-envelope-open-o'; | |||||
} | |||||
public function getPanelGroupKey() { | public function getPanelGroupKey() { | ||||
return PhabricatorSettingsEmailPanelGroup::PANELGROUPKEY; | return PhabricatorSettingsEmailPanelGroup::PANELGROUPKEY; | ||||
} | } | ||||
public function isManagementPanel() { | public function isManagementPanel() { | ||||
if ($this->getUser()->getIsMailingList()) { | if ($this->getUser()->getIsMailingList()) { | ||||
return true; | return true; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 192 Lines • Show Last 20 Lines |