mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 19:32:40 +01:00
25 lines
510 B
PHP
25 lines
510 B
PHP
|
<?php
|
||
|
|
||
|
final class ManiphestTaskDescriptionHeraldField
|
||
|
extends ManiphestTaskHeraldField {
|
||
|
|
||
|
const FIELDCONST = 'maniphest.task.description';
|
||
|
|
||
|
public function getHeraldFieldName() {
|
||
|
return pht('Description');
|
||
|
}
|
||
|
|
||
|
public function getHeraldFieldValue($object) {
|
||
|
return $object->getDescription();
|
||
|
}
|
||
|
|
||
|
protected function getHeraldFieldStandardConditions() {
|
||
|
return self::STANDARD_TEXT;
|
||
|
}
|
||
|
|
||
|
public function getHeraldFieldValueType($condition) {
|
||
|
return HeraldAdapter::VALUE_TEXT;
|
||
|
}
|
||
|
|
||
|
}
|