Differential D18626 Diff 44738 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() { | ||||
| return pht('Reopen Revision'); | return pht('Reopen Revision'); | ||||
| } | } | ||||
| protected function getRevisionActionDescription() { | protected function getRevisionActionDescription( | ||||
| DifferentialRevision $revision) { | |||||
| 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 53 Lines • Show Last 20 Lines | |||||