Differential D17115 Diff 41172 src/applications/differential/xaction/DifferentialRevisionActionTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/xaction/DifferentialRevisionActionTransaction.php
| Show All 13 Lines | public function isActionAvailable($object, PhabricatorUser $viewer) { | ||||
| } catch (Exception $ex) { | } catch (Exception $ex) { | ||||
| return false; | return false; | ||||
| } | } | ||||
| } | } | ||||
| abstract protected function validateAction($object, PhabricatorUser $viewer); | abstract protected function validateAction($object, PhabricatorUser $viewer); | ||||
| abstract protected function getRevisionActionLabel(); | abstract protected function getRevisionActionLabel(); | ||||
| protected function getRevisionActionOrder() { | |||||
| return 1000; | |||||
| } | |||||
| public function getRevisionActionOrderVector() { | |||||
| return id(new PhutilSortVector()) | |||||
| ->addInt($this->getRevisionActionOrder()); | |||||
| } | |||||
| protected function getRevisionActionGroupKey() { | protected function getRevisionActionGroupKey() { | ||||
| return DifferentialRevisionEditEngine::ACTIONGROUP_REVISION; | return DifferentialRevisionEditEngine::ACTIONGROUP_REVISION; | ||||
| } | } | ||||
| protected function getRevisionActionDescription() { | protected function getRevisionActionDescription() { | ||||
| return null; | return null; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines | |||||