Differential D7863 Diff 17803 src/applications/config/option/PhabricatorExtendingPhabricatorConfigOptions.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorExtendingPhabricatorConfigOptions.php
| Show All 22 Lines | return array( | ||||
| pht("Listeners receive callbacks when interesting things occur.")) | pht("Listeners receive callbacks when interesting things occur.")) | ||||
| ->setDescription( | ->setDescription( | ||||
| pht( | pht( | ||||
| "You can respond to various application events by installing ". | "You can respond to various application events by installing ". | ||||
| "listeners, which will receive callbacks when interesting things ". | "listeners, which will receive callbacks when interesting things ". | ||||
| "occur. Specify a list of classes which extend ". | "occur. Specify a list of classes which extend ". | ||||
| "PhabricatorEventListener here.")) | "PhabricatorEventListener here.")) | ||||
| ->addExample('MyEventListener', pht('Valid Setting')), | ->addExample('MyEventListener', pht('Valid Setting')), | ||||
| $this->newOption( | $this->newOption( | ||||
| 'celerity.resource-path', | |||||
| 'string', | |||||
| '__celerity_resource_map__.php') | |||||
| ->setLocked(true) | |||||
| ->setSummary( | |||||
| pht("Custom celerity resource map.")) | |||||
| ->setDescription( | |||||
| pht( | |||||
| "Path to custom celerity resource map relative to ". | |||||
| "'phabricator/src'. See also `scripts/celerity_mapper.php`.")) | |||||
| ->addExample('local/my_celerity_map.php', pht('Valid Setting')), | |||||
| $this->newOption( | |||||
| 'aphront.default-application-configuration-class', | 'aphront.default-application-configuration-class', | ||||
| 'class', | 'class', | ||||
| 'AphrontDefaultApplicationConfiguration') | 'AphrontDefaultApplicationConfiguration') | ||||
| ->setBaseClass('AphrontApplicationConfiguration') | ->setBaseClass('AphrontApplicationConfiguration') | ||||
| // TODO: This could probably use some better documentation. | // TODO: This could probably use some better documentation. | ||||
| ->setDescription(pht("Application configuration class.")), | ->setDescription(pht("Application configuration class.")), | ||||
| ); | ); | ||||
| } | } | ||||
| } | } | ||||