Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / config / option / PhabricatorExtendingPhabricatorConfigOptions.php
blob0a3ea32e44996e4981dbcc2245af26d375b164c7
1 <?php
3 final class PhabricatorExtendingPhabricatorConfigOptions
4 extends PhabricatorApplicationConfigOptions {
6 public function getName() {
7 return pht('Extending Phabricator');
10 public function getDescription() {
11 return pht('Make Phabricator even cooler!');
14 public function getIcon() {
15 return 'fa-rocket';
18 public function getGroup() {
19 return 'core';
22 public function getOptions() {
23 return array(
24 $this->newOption('load-libraries', 'list<string>', array())
25 ->setLocked(true)
26 ->setSummary(pht('Paths to additional phutil libraries to load.'))
27 ->addExample('/srv/our-libs/sekrit-phutil', pht('Valid Setting')),
28 $this->newOption('events.listeners', 'list<string>', array())
29 ->setLocked(true)
30 ->setSummary(
31 pht('Listeners receive callbacks when interesting things occur.'))
32 ->setDescription(
33 pht(
34 'You can respond to various application events by installing '.
35 'listeners, which will receive callbacks when interesting things '.
36 'occur. Specify a list of classes which extend '.
37 'PhabricatorEventListener here.'))
38 ->addExample('MyEventListener', pht('Valid Setting')),