Differential D14675 Diff 35496 src/applications/transactions/editfield/PhabricatorSelectEditField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/editfield/PhabricatorSelectEditField.php
| Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | public function getCommentEditTypes() { | ||||
| } | } | ||||
| $edit = $this->getEditType() | $edit = $this->getEditType() | ||||
| ->setLabel($label) | ->setLabel($label) | ||||
| ->setPHUIXControlType('select') | ->setPHUIXControlType('select') | ||||
| ->setPHUIXControlSpecification( | ->setPHUIXControlSpecification( | ||||
| array( | array( | ||||
| 'options' => $this->getOptions(), | 'options' => $this->getOptions(), | ||||
| 'order' => array_keys($this->getOptions()), | |||||
| 'value' => $default_value, | 'value' => $default_value, | ||||
| )); | )); | ||||
| return array($edit); | return array($edit); | ||||
| } | } | ||||
| } | } | ||||