Differential D15912 Diff 38328 src/applications/owners/editor/PhabricatorOwnersPackageEditEngine.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/owners/editor/PhabricatorOwnersPackageEditEngine.php
| Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | protected function getObjectCreateShortText() { | ||||
| return pht('Create Package'); | return pht('Create Package'); | ||||
| } | } | ||||
| protected function getObjectName() { | protected function getObjectName() { | ||||
| return pht('Package'); | return pht('Package'); | ||||
| } | } | ||||
| protected function getObjectViewURI($object) { | protected function getObjectViewURI($object) { | ||||
| $id = $object->getID(); | return $object->getURI(); | ||||
| return "/owners/package/{$id}/"; | |||||
| } | } | ||||
| protected function buildCustomEditFields($object) { | protected function buildCustomEditFields($object) { | ||||
| $paths_help = pht(<<<EOTEXT | $paths_help = pht(<<<EOTEXT | ||||
| When updating the paths for a package, pass a list of dictionaries like | When updating the paths for a package, pass a list of dictionaries like | ||||
| this as the `value` for the transaction: | this as the `value` for the transaction: | ||||
| ▲ Show 20 Lines • Show All 84 Lines • Show Last 20 Lines | |||||