mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 00:02:41 +01:00
25 lines
530 B
PHP
25 lines
530 B
PHP
|
<?php
|
||
|
|
||
|
final class DiffusionCommitMessageHeraldField
|
||
|
extends DiffusionCommitHeraldField {
|
||
|
|
||
|
const FIELDCONST = 'diffusion.commit.message';
|
||
|
|
||
|
public function getHeraldFieldName() {
|
||
|
return pht('Commit message');
|
||
|
}
|
||
|
|
||
|
public function getHeraldFieldValue($object) {
|
||
|
return $object->getCommitData()->getCommitMessage();
|
||
|
}
|
||
|
|
||
|
protected function getHeraldFieldStandardConditions() {
|
||
|
return self::STANDARD_TEXT;
|
||
|
}
|
||
|
|
||
|
public function getHeraldFieldValueType($condition) {
|
||
|
return HeraldAdapter::VALUE_TEXT;
|
||
|
}
|
||
|
|
||
|
}
|