Changeset View
Changeset View
Standalone View
Standalone View
src/applications/herald/field/HeraldAlwaysField.php
Show All 17 Lines | final class HeraldAlwaysField extends HeraldField { | ||||
public function getHeraldFieldConditions() { | public function getHeraldFieldConditions() { | ||||
return array( | return array( | ||||
HeraldAdapter::CONDITION_UNCONDITIONALLY, | HeraldAdapter::CONDITION_UNCONDITIONALLY, | ||||
); | ); | ||||
} | } | ||||
public function getHeraldFieldValueType($condition) { | public function getHeraldFieldValueType($condition) { | ||||
return new HeraldEmptyFieldValue(); | return new HeraldBoolFieldValue(); | ||||
} | } | ||||
public function supportsObject($object) { | public function supportsObject($object) { | ||||
return true; | return true; | ||||
} | } | ||||
} | } |