Changeset View
Changeset View
Standalone View
Standalone View
src/applications/nuance/editor/NuanceQueueEditEngine.php
| Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | final class NuanceQueueEditEngine | ||||
| } | } | ||||
| protected function buildCustomEditFields($object) { | protected function buildCustomEditFields($object) { | ||||
| return array( | return array( | ||||
| id(new PhabricatorTextEditField()) | id(new PhabricatorTextEditField()) | ||||
| ->setKey('name') | ->setKey('name') | ||||
| ->setLabel(pht('Name')) | ->setLabel(pht('Name')) | ||||
| ->setDescription(pht('Name of the queue.')) | ->setDescription(pht('Name of the queue.')) | ||||
| ->setTransactionType(NuanceQueueTransaction::TYPE_NAME) | ->setTransactionType(NuanceQueueNameTransaction::TRANSACTIONTYPE) | ||||
| ->setIsRequired(true) | ->setIsRequired(true) | ||||
| ->setValue($object->getName()), | ->setValue($object->getName()), | ||||
| ); | ); | ||||
| } | } | ||||
| } | } | ||||