Differential D17451 Diff 43379 src/applications/maniphest/config/PhabricatorManiphestConfigOptions.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/maniphest/config/PhabricatorManiphestConfigOptions.php
Show First 20 Lines • Show All 329 Lines • ▼ Show 20 Lines | |||||
To define subtypes, provide a list of subtypes. Each subtype should be a | To define subtypes, provide a list of subtypes. Each subtype should be a | ||||
dictionary with these keys: | dictionary with these keys: | ||||
- `key` //Required string.// Internal identifier for the subtype, like | - `key` //Required string.// Internal identifier for the subtype, like | ||||
"task", "feature", or "bug". | "task", "feature", or "bug". | ||||
- `name` //Required string.// Human-readable name for this subtype, like | - `name` //Required string.// Human-readable name for this subtype, like | ||||
"Task", "Feature Request" or "Bug Report". | "Task", "Feature Request" or "Bug Report". | ||||
- `tag` //Optional string.// Tag text for this subtype. | |||||
- `color` //Optional string.// Display color for this subtype. | |||||
- `icon` //Optional string.// Icon for the subtype. | |||||
Each subtype must have a unique key, and you must define a subtype with | Each subtype must have a unique key, and you must define a subtype with | ||||
the key "%s", which is used as a default subtype. | the key "%s", which is used as a default subtype. | ||||
The tag text (`tag`) is used to set the text shown in the subtype tag on list | |||||
views and workboards. If you do not configure it, the default subtype will have | |||||
no subtype tag and other subtypes will use their name as tag text. | |||||
EOTEXT | EOTEXT | ||||
, | , | ||||
$subtype_default_key)); | $subtype_default_key)); | ||||
return array( | return array( | ||||
$this->newOption('maniphest.custom-field-definitions', 'wild', array()) | $this->newOption('maniphest.custom-field-definitions', 'wild', array()) | ||||
->setSummary(pht('Custom Maniphest fields.')) | ->setSummary(pht('Custom Maniphest fields.')) | ||||
▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines |