Differential D16023 Diff 38575 src/applications/settings/setting/PhabricatorAccessibilitySetting.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/setting/PhabricatorAccessibilitySetting.php
| <?php | <?php | ||||
| final class PhabricatorAccessibilitySetting | final class PhabricatorAccessibilitySetting | ||||
| extends PhabricatorSelectSetting { | extends PhabricatorSelectSetting { | ||||
| const SETTINGKEY = 'resource-postprocessor'; | const SETTINGKEY = 'resource-postprocessor'; | ||||
| public function getSettingName() { | public function getSettingName() { | ||||
| return pht('Accessibility'); | return pht('Accessibility'); | ||||
| } | } | ||||
| public function getSettingPanelKey() { | |||||
| return PhabricatorDisplayPreferencesSettingsPanel::PANELKEY; | |||||
| } | |||||
| protected function getSettingOrder() { | |||||
| return 100; | |||||
| } | |||||
| protected function getControlInstructions() { | protected function getControlInstructions() { | ||||
| return pht( | return pht( | ||||
| 'If you have difficulty reading the Phabricator UI, these settings '. | 'If you have difficulty reading the Phabricator UI, this setting '. | ||||
| 'may make Phabricator more accessible.'); | 'may make Phabricator more accessible.'); | ||||
| } | } | ||||
| public function getSettingDefaultValue() { | public function getSettingDefaultValue() { | ||||
| return CelerityDefaultPostprocessor::POSTPROCESSOR_KEY; | return CelerityDefaultPostprocessor::POSTPROCESSOR_KEY; | ||||
| } | } | ||||
| protected function getSelectOptions() { | protected function getSelectOptions() { | ||||
| Show All 17 Lines | |||||