Differential D18626 Diff 44738 src/applications/differential/xaction/DifferentialRevisionCloseTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/xaction/DifferentialRevisionCloseTransaction.php
| <?php | <?php | ||||
| final class DifferentialRevisionCloseTransaction | final class DifferentialRevisionCloseTransaction | ||||
| extends DifferentialRevisionActionTransaction { | extends DifferentialRevisionActionTransaction { | ||||
| const TRANSACTIONTYPE = 'differential.revision.close'; | const TRANSACTIONTYPE = 'differential.revision.close'; | ||||
| const ACTIONKEY = 'close'; | const ACTIONKEY = 'close'; | ||||
| protected function getRevisionActionLabel() { | protected function getRevisionActionLabel() { | ||||
| return pht('Close Revision'); | return pht('Close Revision'); | ||||
| } | } | ||||
| protected function getRevisionActionDescription() { | protected function getRevisionActionDescription( | ||||
| DifferentialRevision $revision) { | |||||
| return pht('This revision will be closed.'); | return pht('This revision will be closed.'); | ||||
| } | } | ||||
| public function getIcon() { | public function getIcon() { | ||||
| return 'fa-check'; | return 'fa-check'; | ||||
| } | } | ||||
| public function getColor() { | public function getColor() { | ||||
| ▲ Show 20 Lines • Show All 117 Lines • Show Last 20 Lines | |||||