Differential D21401 Diff 50944 src/applications/differential/xaction/DifferentialRevisionReopenTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/xaction/DifferentialRevisionReopenTransaction.php
<?php | <?php | ||||
final class DifferentialRevisionReopenTransaction | final class DifferentialRevisionReopenTransaction | ||||
extends DifferentialRevisionActionTransaction { | extends DifferentialRevisionActionTransaction { | ||||
const TRANSACTIONTYPE = 'differential.revision.reopen'; | const TRANSACTIONTYPE = 'differential.revision.reopen'; | ||||
const ACTIONKEY = 'reopen'; | const ACTIONKEY = 'reopen'; | ||||
protected function getRevisionActionLabel() { | protected function getRevisionActionLabel( | ||||
DifferentialRevision $revision, | |||||
PhabricatorUser $viewer) { | |||||
return pht('Reopen Revision'); | return pht('Reopen Revision'); | ||||
} | } | ||||
protected function getRevisionActionDescription( | protected function getRevisionActionDescription( | ||||
DifferentialRevision $revision) { | DifferentialRevision $revision, | ||||
PhabricatorUser $viewer) { | |||||
return pht('This revision will be reopened for review.'); | return pht('This revision will be reopened for review.'); | ||||
} | } | ||||
public function getIcon() { | public function getIcon() { | ||||
return 'fa-bullhorn'; | return 'fa-bullhorn'; | ||||
} | } | ||||
public function getColor() { | public function getColor() { | ||||
▲ Show 20 Lines • Show All 61 Lines • Show Last 20 Lines |