Differential D13612 Diff 32970 src/applications/maniphest/herald/ManiphestTaskDescriptionHeraldField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/maniphest/herald/ManiphestTaskDescriptionHeraldField.php
<?php | <?php | ||||
final class ManiphestTaskDescriptionHeraldField | final class ManiphestTaskDescriptionHeraldField | ||||
extends ManiphestTaskHeraldField { | extends ManiphestTaskHeraldField { | ||||
const FIELDCONST = 'maniphest.task.description'; | const FIELDCONST = 'maniphest.task.description'; | ||||
public function getHeraldFieldName() { | public function getHeraldFieldName() { | ||||
return pht('Description'); | return pht('Description'); | ||||
} | } | ||||
public function getHeraldFieldValue($object) { | public function getHeraldFieldValue($object) { | ||||
return $object->getDescription(); | return $object->getDescription(); | ||||
} | } | ||||
protected function getHeraldFieldStandardConditions() { | protected function getHeraldFieldStandardType() { | ||||
return self::STANDARD_TEXT; | return self::STANDARD_TEXT; | ||||
} | } | ||||
public function getHeraldFieldValueType($condition) { | |||||
return HeraldAdapter::VALUE_TEXT; | |||||
} | |||||
} | } |