Differential D13200 Diff 31965 src/applications/releeph/differential/DifferentialReleephRequestFieldSpecification.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/releeph/differential/DifferentialReleephRequestFieldSpecification.php
| Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | public function setValueFromStorage($json) { | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function shouldAppearOnRevisionView() { | public function shouldAppearOnRevisionView() { | ||||
| return true; | return true; | ||||
| } | } | ||||
| public function renderLabelForRevisionView() { | public function renderLabelForRevisionView() { | ||||
| return 'Releeph'; | return pht('Releeph'); | ||||
| } | } | ||||
| public function getRequiredHandlePHIDs() { | public function getRequiredHandlePHIDs() { | ||||
| return mpull($this->loadReleephRequests(), 'getPHID'); | return mpull($this->loadReleephRequests(), 'getPHID'); | ||||
| } | } | ||||
| public function renderValueForRevisionView() { | public function renderValueForRevisionView() { | ||||
| static $tense; | static $tense; | ||||
| ▲ Show 20 Lines • Show All 178 Lines • ▼ Show 20 Lines | public function parseValueFromCommitMessage($value) { | ||||
| $data = array( | $data = array( | ||||
| 'releephAction' => $action, | 'releephAction' => $action, | ||||
| 'releephPHIDs' => $phids, | 'releephPHIDs' => $phids, | ||||
| ); | ); | ||||
| return $data; | return $data; | ||||
| } | } | ||||
| public function renderLabelForCommitMessage() { | public function renderLabelForCommitMessage() { | ||||
| return 'Releeph'; | return pht('Releeph'); | ||||
| } | } | ||||
| public function shouldAppearOnCommitMessageTemplate() { | public function shouldAppearOnCommitMessageTemplate() { | ||||
| return false; | return false; | ||||
| } | } | ||||
| public function didParseCommit( | public function didParseCommit( | ||||
| PhabricatorRepository $repo, | PhabricatorRepository $repo, | ||||
| ▲ Show 20 Lines • Show All 129 Lines • Show Last 20 Lines | |||||