1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 09:42:41 +01:00
phorge-phorge/src/applications/project/customfield/PhabricatorProjectDescriptionField.php
epriestley 6fe882e50a Convert projects to EditEngine
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
2015-12-27 15:42:50 -08:00

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);
}
}