3 final class DiffusionCommitAutocloseHeraldField
4 extends DiffusionCommitHeraldField
{
6 const FIELDCONST
= 'diffusion.commit.autoclose';
8 public function getFieldGroupKey() {
9 return HeraldDeprecatedFieldGroup
::FIELDGROUPKEY
;
12 public function getHeraldFieldName() {
13 // Herald no longer triggers until a commit is reachable from a permanent
14 // ref, so this condition is always true by definition.
15 return pht('Commit Autocloses (Deprecated)');
18 public function getHeraldFieldValue($object) {
22 public function getHeraldFieldConditions() {
24 HeraldAdapter
::CONDITION_UNCONDITIONALLY
,
28 public function getHeraldFieldValueType($condition) {
29 return new HeraldEmptyFieldValue();