mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-28 09:42:41 +01:00
6fe882e50a
Summary: Ref T10010. This is pretty straightforward with a couple of very minor new behaviors, like the icon selector edit field. Test Plan: - Created projects. - Edited projects. - Saw "Create Project" in quick create menu. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10010 Differential Revision: https://secure.phabricator.com/D14896
20 lines
544 B
PHP
20 lines
544 B
PHP
<?php
|
|
|
|
final class PhabricatorProjectDescriptionField
|
|
extends PhabricatorProjectStandardCustomField {
|
|
|
|
public function createFields($object) {
|
|
return PhabricatorStandardCustomField::buildStandardFields(
|
|
$this,
|
|
array(
|
|
'description' => array(
|
|
'name' => pht('Description'),
|
|
'type' => 'remarkup',
|
|
'description' => pht('Short project description.'),
|
|
'fulltext' => PhabricatorSearchDocumentFieldType::FIELD_BODY,
|
|
),
|
|
),
|
|
$internal = true);
|
|
}
|
|
|
|
}
|