mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 11:22:40 +01:00
bc4edc946b
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
19 lines
382 B
PHP
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.');
|
|
}
|
|
|
|
}
|