Differential D17066 Diff 41082 src/applications/differential/field/DifferentialRevertPlanCommitMessageField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/field/DifferentialRevertPlanCommitMessageField.php
| <?php | <?php | ||||
| final class DifferentialRevertPlanCommitMessageField | final class DifferentialRevertPlanCommitMessageField | ||||
| extends DifferentialCommitMessageField { | extends DifferentialCommitMessageCustomField { | ||||
| const FIELDKEY = 'revertPlan'; | const FIELDKEY = 'revertPlan'; | ||||
| public function getFieldName() { | public function getFieldName() { | ||||
| return pht('Revert Plan'); | return pht('Revert Plan'); | ||||
| } | } | ||||
| public function isFieldEnabled() { | public function getCustomFieldKey() { | ||||
| return $this->isCustomFieldEnabled('phabricator:revert-plan'); | return 'phabricator:revert-plan'; | ||||
| } | } | ||||
| } | } | ||||