3 final class DiffusionPreCommitContentMergeHeraldField
4 extends DiffusionPreCommitContentHeraldField
{
6 const FIELDCONST
= 'diffusion.pre.content.merge';
8 public function getHeraldFieldName() {
9 return pht('Is merge commit');
12 public function getHeraldFieldValue($object) {
13 return $this->getAdapter()->getIsMergeCommit();
16 protected function getHeraldFieldStandardType() {
17 return HeraldField
::STANDARD_BOOL
;