getName()); } protected function getObjectEditShortText($object) { return pht('Edit Queue'); } protected function getObjectCreateShortText() { return pht('Create Queue'); } protected function getObjectName() { return pht('Queue'); } protected function getEditorURI() { return '/nuance/queue/edit/'; } protected function getObjectCreateCancelURI($object) { return '/nuance/queue/'; } protected function getObjectViewURI($object) { return $object->getURI(); } protected function buildCustomEditFields($object) { return array( id(new PhabricatorTextEditField()) ->setKey('name') ->setLabel(pht('Name')) ->setDescription(pht('Name of the queue.')) ->setTransactionType(NuanceQueueNameTransaction::TRANSACTIONTYPE) ->setIsRequired(true) ->setValue($object->getName()), ); } }