Differential D14896 Diff 36004 src/applications/project/customfield/PhabricatorProjectDescriptionField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/customfield/PhabricatorProjectDescriptionField.php
<?php | <?php | ||||
final class PhabricatorProjectDescriptionField | final class PhabricatorProjectDescriptionField | ||||
extends PhabricatorProjectStandardCustomField { | extends PhabricatorProjectStandardCustomField { | ||||
public function createFields($object) { | public function createFields($object) { | ||||
return PhabricatorStandardCustomField::buildStandardFields( | return PhabricatorStandardCustomField::buildStandardFields( | ||||
$this, | $this, | ||||
array( | array( | ||||
'description' => array( | 'description' => array( | ||||
'name' => pht('Description'), | 'name' => pht('Description'), | ||||
'type' => 'remarkup', | 'type' => 'remarkup', | ||||
'description' => pht('Short project description.'), | 'description' => pht('Short project description.'), | ||||
'fulltext' => PhabricatorSearchDocumentFieldType::FIELD_BODY, | 'fulltext' => PhabricatorSearchDocumentFieldType::FIELD_BODY, | ||||
), | ), | ||||
)); | ), | ||||
$internal = true); | |||||
} | } | ||||
} | } |