Differential D8286 Diff 19727 src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldRemarkup.php
Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldRemarkup.php
| <?php | <?php | ||||
| final class PhabricatorStandardCustomFieldRemarkup | final class PhabricatorStandardCustomFieldRemarkup | ||||
| extends PhabricatorStandardCustomField { | extends PhabricatorStandardCustomField { | ||||
| public function getFieldType() { | public function getFieldType() { | ||||
| return 'remarkup'; | return 'remarkup'; | ||||
| } | } | ||||
| public function renderEditControl() { | public function renderEditControl(array $handles) { | ||||
| return id(new PhabricatorRemarkupControl()) | return id(new PhabricatorRemarkupControl()) | ||||
| ->setLabel($this->getFieldName()) | ->setLabel($this->getFieldName()) | ||||
| ->setName($this->getFieldKey()) | ->setName($this->getFieldKey()) | ||||
| ->setCaption($this->getCaption()) | ->setCaption($this->getCaption()) | ||||
| ->setValue($this->getFieldValue()); | ->setValue($this->getFieldValue()); | ||||
| } | } | ||||
| public function getStyleForPropertyView() { | public function getStyleForPropertyView() { | ||||
| Show All 35 Lines | |||||