Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / infrastructure / customfield / standard / PhabricatorStandardCustomFieldHeader.php
blobbeb92f9aed678c2be9ec4d304dd70e7fcb802fa5
1 <?php
3 final class PhabricatorStandardCustomFieldHeader
4 extends PhabricatorStandardCustomField {
6 public function getFieldType() {
7 return 'header';
10 public function renderEditControl(array $handles) {
11 $header = phutil_tag(
12 'div',
13 array(
14 'class' => 'phabricator-standard-custom-field-header',
16 $this->getFieldName());
17 return id(new AphrontFormStaticControl())
18 ->setValue($header);
21 public function shouldUseStorage() {
22 return false;
25 public function getStyleForPropertyView() {
26 return 'header';
29 public function renderPropertyViewValue(array $handles) {
30 return $this->getFieldName();
33 public function shouldAppearInApplicationSearch() {
34 return false;
37 public function shouldAppearInConduitTransactions() {
38 return false;