@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3final class PhabricatorEditEngineStaticCommentAction
4 extends PhabricatorEditEngineCommentAction {
5
6 private $description;
7
8 public function setDescription($description) {
9 $this->description = $description;
10 return $this;
11 }
12
13 public function getDescription() {
14 return $this->description;
15 }
16
17 public function getPHUIXControlType() {
18 return 'static';
19 }
20
21 public function getPHUIXControlSpecification() {
22 return array(
23 'value' => $this->getValue(),
24 'description' => $this->getDescription(),
25 );
26 }
27
28}