Changeset View
Changeset View
Standalone View
Standalone View
src/applications/release/config/PhabricatorReleaseConfigOptions.php
- This file was added.
<?php | |||||
final class PhabricatorReleaseConfigOptions | |||||
extends PhabricatorApplicationConfigOptions { | |||||
public function getName() { | |||||
return pht('Release'); | |||||
} | |||||
public function getDescription() { | |||||
return pht('Options for the Release app.'); | |||||
} | |||||
public function getGroup() { | |||||
return 'apps'; | |||||
} | |||||
public function getIcon() { | |||||
return 'fa-hand-scissors-o'; | |||||
} | |||||
public function getOptions() { | |||||
$custom_fields_href = PhabricatorEnv::getDoclink( | |||||
'Configuring Custom Fields'); | |||||
return array( | |||||
$this->newOption( | |||||
'release.release.customFields', | |||||
'wild', | |||||
array()) | |||||
->setSummary(pht('Custom fields for Releases.')) | |||||
->setDescription(pht( | |||||
'Array of custom fields for Release objects. For details, see '. | |||||
'**[[ %s | Configuring Custom Fields ]]** in the documentation.', | |||||
$custom_fields_href)), | |||||
$this->newOption( | |||||
'release.show-debug-tools', | |||||
'bool', | |||||
true) | |||||
->setDescription(pht( | |||||
'Show some actions and options that are only useful for developing '. | |||||
'this prototype application.')), | |||||
); | |||||
} | |||||
} |