Differential D14789 Diff 35772 src/applications/transactions/editfield/PhabricatorCommentEditField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/editfield/PhabricatorCommentEditField.php
<?php | <?php | ||||
final class PhabricatorCommentEditField | final class PhabricatorCommentEditField | ||||
extends PhabricatorEditField { | extends PhabricatorEditField { | ||||
protected function newControl() { | protected function newControl() { | ||||
return new PhabricatorRemarkupControl(); | return new PhabricatorRemarkupControl(); | ||||
} | } | ||||
protected function newEditType() { | protected function newEditType() { | ||||
return new PhabricatorCommentEditType(); | return new PhabricatorCommentEditType(); | ||||
} | } | ||||
public function shouldGenerateTransactionsFromComment() { | |||||
return true; | |||||
} | |||||
} | } |