Differential D14675 Diff 35496 src/applications/transactions/edittype/PhabricatorPHIDListEditType.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/edittype/PhabricatorPHIDListEditType.php
| Show First 20 Lines • Show All 80 Lines • ▼ Show 20 Lines | return array( | ||||
| 'browseURI' => $datasource->getBrowseURI(), | 'browseURI' => $datasource->getBrowseURI(), | ||||
| 'placeholder' => $datasource->getPlaceholderText(), | 'placeholder' => $datasource->getPlaceholderText(), | ||||
| 'limit' => $limit, | 'limit' => $limit, | ||||
| ), | ), | ||||
| 'value' => $value, | 'value' => $value, | ||||
| ); | ); | ||||
| } | } | ||||
| public function getCommentActionValueFromDraftValue($value) { | |||||
| $datasource = $this->getDatasource(); | |||||
| if (!$datasource) { | |||||
| return array(); | |||||
| } | |||||
| if (!is_array($value)) { | |||||
| return array(); | |||||
| } | |||||
| return $datasource->getWireTokens($value); | |||||
| } | |||||
| } | } | ||||