Differential D20046 Diff 47909 src/applications/config/option/PhabricatorExtendingPhabricatorConfigOptions.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorExtendingPhabricatorConfigOptions.php
Show All 30 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( | |||||
'aphront.default-application-configuration-class', | |||||
'class', | |||||
'AphrontDefaultApplicationConfiguration') | |||||
->setLocked(true) | |||||
->setBaseClass('AphrontApplicationConfiguration') | |||||
// TODO: This could probably use some better documentation. | |||||
->setDescription(pht('Application configuration class.')), | |||||
); | ); | ||||
} | } | ||||
} | } |