Differential D13006 Diff 31364 src/applications/repository/customfield/PhabricatorCommitMergedCommitsField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/customfield/PhabricatorCommitMergedCommitsField.php
| <?php | <?php | ||||
| final class PhabricatorCommitMergedCommitsField | final class PhabricatorCommitMergedCommitsField | ||||
| extends PhabricatorCommitCustomField { | extends PhabricatorCommitCustomField { | ||||
| public function getFieldKey() { | public function getFieldKey() { | ||||
| return 'diffusion:mergedcommits'; | return 'diffusion:mergedcommits'; | ||||
| } | } | ||||
| public function getFieldName() { | |||||
| return pht('Merged Commits'); | |||||
| } | |||||
| public function getFieldDescription() { | |||||
| return pht('For merge commits, shows merged changes in email.'); | |||||
| } | |||||
| public function shouldDisableByDefault() { | public function shouldDisableByDefault() { | ||||
| return true; | return true; | ||||
| } | } | ||||
| public function shouldAppearInTransactionMail() { | public function shouldAppearInTransactionMail() { | ||||
| return true; | return true; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines | |||||