Differential D19842 Diff 47380 src/applications/transactions/controller/PhabricatorEditEngineConfigurationReorderController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/controller/PhabricatorEditEngineConfigurationReorderController.php
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | public function handleRequest(AphrontRequest $request) { | ||||
$list = id(new PHUIObjectItemListView()) | $list = id(new PHUIObjectItemListView()) | ||||
->setUser($viewer) | ->setUser($viewer) | ||||
->setID($list_id) | ->setID($list_id) | ||||
->setFlush(true); | ->setFlush(true); | ||||
$key_order = array(); | $key_order = array(); | ||||
foreach ($fields as $field) { | foreach ($fields as $field) { | ||||
if (!$field->getIsFormField()) { | |||||
continue; | |||||
} | |||||
if (!$field->getIsReorderable()) { | if (!$field->getIsReorderable()) { | ||||
continue; | continue; | ||||
} | } | ||||
$label = $field->getLabel(); | $label = $field->getLabel(); | ||||
$key = $field->getKey(); | $key = $field->getKey(); | ||||
if ($label !== null) { | if ($label !== null) { | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |