Differential D17054 Diff 41023 src/applications/differential/customfield/DifferentialProjectsField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/customfield/DifferentialProjectsField.php
| Show All 13 Lines | final class DifferentialProjectsField | ||||
| public function getFieldDescription() { | public function getFieldDescription() { | ||||
| return pht('Tag projects.'); | return pht('Tag projects.'); | ||||
| } | } | ||||
| public function shouldAppearInPropertyView() { | public function shouldAppearInPropertyView() { | ||||
| return false; | return false; | ||||
| } | } | ||||
| public function shouldAppearInEditView() { | |||||
| return true; | |||||
| } | |||||
| public function shouldAppearInApplicationTransactions() { | public function shouldAppearInApplicationTransactions() { | ||||
| return true; | return true; | ||||
| } | } | ||||
| protected function readValueFromRevision( | protected function readValueFromRevision( | ||||
| DifferentialRevision $revision) { | DifferentialRevision $revision) { | ||||
| if (!$revision->getPHID()) { | if (!$revision->getPHID()) { | ||||
| return array(); | return array(); | ||||
| ▲ Show 20 Lines • Show All 81 Lines • Show Last 20 Lines | |||||