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/conduit/ProjectEditConduitAPIMethod.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

19 lines
390 B
PHP

<?php
final class ProjectEditConduitAPIMethod
extends PhabricatorEditEngineAPIMethod {
public function getAPIMethodName() {
return 'project.edit';
}
public function newEditEngine() {
return new PhabricatorProjectEditEngine();
}
public function getMethodSummary() {
return pht(
'Apply transactions to create a new project or edit an existing one.');
}
}