Differential D14402 Diff 34804 src/applications/transactions/editfield/PhabricatorPolicyEditField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/editfield/PhabricatorPolicyEditField.php
| Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | protected function newControl() { | ||||
| $space_field = $this->getSpaceField(); | $space_field = $this->getSpaceField(); | ||||
| if ($space_field) { | if ($space_field) { | ||||
| $control->setSpacePHID($space_field->getValueForControl()); | $control->setSpacePHID($space_field->getValueForControl()); | ||||
| } | } | ||||
| return $control; | return $control; | ||||
| } | } | ||||
| public function getHTTPParameterType() { | protected function newHTTPParameterType() { | ||||
| return 'phid'; | return new AphrontPHIDHTTPParameterType(); | ||||
| } | } | ||||
| } | } | ||||