1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 11:22:40 +01:00
phorge-phorge/src/applications/macro/conduit/MacroEditConduitAPIMethod.php
Chad Little bc4edc946b Add Conduit edit endpoint for Macro
Summary: Opens up the edit endpoint for Macros

Test Plan: Review /conduit/method/macro.edit/

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D17866
2017-05-10 14:54:43 -07:00

19 lines
382 B
PHP

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