Differential D21864 Diff 52157 src/applications/differential/field/DifferentialCommitMessageField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/field/DifferentialCommitMessageField.php
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | public function readFieldValueFromConduit($value) { | ||||
return $this->readStringFieldValueFromConduit($value); | return $this->readStringFieldValueFromConduit($value); | ||||
} | } | ||||
public function readFieldValueFromObject(DifferentialRevision $revision) { | public function readFieldValueFromObject(DifferentialRevision $revision) { | ||||
return null; | return null; | ||||
} | } | ||||
public function renderFieldValue($value) { | public function renderFieldValue($value) { | ||||
if (!strlen($value)) { | if ($value === null || !strlen($value)) { | ||||
return null; | return null; | ||||
} | } | ||||
return $value; | return $value; | ||||
} | } | ||||
public function getFieldTransactions($value) { | public function getFieldTransactions($value) { | ||||
if (!$this->isFieldEditable()) { | if (!$this->isFieldEditable()) { | ||||
▲ Show 20 Lines • Show All 120 Lines • Show Last 20 Lines |