Differential D14795 Diff 35776 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 shouldGenerateTransactionsFromSubmit() { | |||||
return false; | |||||
} | |||||
public function shouldGenerateTransactionsFromComment() { | public function shouldGenerateTransactionsFromComment() { | ||||
return true; | return true; | ||||
} | } | ||||
} | } |