Summary: Adds core and apps grouping to configuration options, makes it somewhat easier to browse config options. Test Plan: Set each option, review list. Breakdown is nearly 50/50 apps/core. Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11722
33 lines
755 B
PHP
33 lines
755 B
PHP
<?php
|
|
|
|
final class PhabricatorMacroConfigOptions
|
|
extends PhabricatorApplicationConfigOptions {
|
|
|
|
public function getName() {
|
|
return pht('Macro');
|
|
}
|
|
|
|
public function getDescription() {
|
|
return pht('Configure Macro.');
|
|
}
|
|
|
|
public function getFontIcon() {
|
|
return 'fa-file-image-o';
|
|
}
|
|
|
|
public function getGroup() {
|
|
return 'apps';
|
|
}
|
|
|
|
public function getOptions() {
|
|
return array(
|
|
$this->newOption('metamta.macro.reply-handler-domain', 'string', null)
|
|
->setDescription(pht(
|
|
'As {{metamta.maniphest.reply-handler-domain}}, but affects Macro.')),
|
|
$this->newOption('metamta.macro.subject-prefix', 'string', '[Macro]')
|
|
->setDescription(pht('Subject prefix for Macro email.')),
|
|
);
|
|
}
|
|
|
|
}
|