Differential D7393 Diff 16652 src/applications/differential/config/PhabricatorDifferentialConfigOptions.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/config/PhabricatorDifferentialConfigOptions.php
| Show All 14 Lines | public function getOptions() { | ||||
| return array( | return array( | ||||
| $this->newOption( | $this->newOption( | ||||
| 'differential.revision-custom-detail-renderer', | 'differential.revision-custom-detail-renderer', | ||||
| 'class', | 'class', | ||||
| null) | null) | ||||
| ->setBaseClass('DifferentialRevisionDetailRenderer') | ->setBaseClass('DifferentialRevisionDetailRenderer') | ||||
| ->setDescription(pht("Custom revision detail renderer.")), | ->setDescription(pht("Custom revision detail renderer.")), | ||||
| $this->newOption( | $this->newOption( | ||||
| 'differential.custom-remarkup-rules', | |||||
| 'list<string>', | |||||
| array()) | |||||
| ->setSummary(pht('Custom remarkup rules.')) | |||||
| ->setDescription( | |||||
| pht( | |||||
| "Array for custom remarkup rules. The array should have a list ". | |||||
| "of class names of classes that extend PhutilRemarkupRule")), | |||||
| $this->newOption( | |||||
| 'differential.custom-remarkup-block-rules', | |||||
| 'list<string>', | |||||
| array()) | |||||
| ->setSummary(pht('Custom remarkup block rules.')) | |||||
| ->setDescription( | |||||
| pht( | |||||
| "Array for custom remarkup block rules. The array should have a ". | |||||
| "list of class names of classes that extend ". | |||||
| "PhutilRemarkupEngineBlockRule")), | |||||
| $this->newOption( | |||||
| 'differential.whitespace-matters', | 'differential.whitespace-matters', | ||||
| 'list<regex>', | 'list<regex>', | ||||
| array( | array( | ||||
| '/\.py$/', | '/\.py$/', | ||||
| '/\.l?hs$/', | '/\.l?hs$/', | ||||
| )) | )) | ||||
| ->setDescription( | ->setDescription( | ||||
| pht( | pht( | ||||
| ▲ Show 20 Lines • Show All 218 Lines • Show Last 20 Lines | |||||