Differential D19993 Diff 47727 src/applications/diffusion/config/PhabricatorDiffusionConfigOptions.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/config/PhabricatorDiffusionConfigOptions.php
Show All 32 Lines | public function getOptions() { | ||||
foreach ($fields as $field) { | foreach ($fields as $field) { | ||||
$default_fields[$field->getFieldKey()] = array( | $default_fields[$field->getFieldKey()] = array( | ||||
'disabled' => $field->shouldDisableByDefault(), | 'disabled' => $field->shouldDisableByDefault(), | ||||
); | ); | ||||
} | } | ||||
return array( | return array( | ||||
$this->newOption( | $this->newOption( | ||||
'metamta.diffusion.subject-prefix', | |||||
'string', | |||||
'[Diffusion]') | |||||
->setDescription(pht('Subject prefix for Diffusion mail.')), | |||||
$this->newOption( | |||||
'metamta.diffusion.attach-patches', | 'metamta.diffusion.attach-patches', | ||||
'bool', | 'bool', | ||||
false) | false) | ||||
->setBoolOptions( | ->setBoolOptions( | ||||
array( | array( | ||||
pht('Attach Patches'), | pht('Attach Patches'), | ||||
pht('Do Not Attach Patches'), | pht('Do Not Attach Patches'), | ||||
)) | )) | ||||
▲ Show 20 Lines • Show All 112 Lines • Show Last 20 Lines |