Changeset View
Changeset View
Standalone View
Standalone View
src/applications/drydock/editor/DrydockBlueprintEditEngine.php
Show First 20 Lines • Show All 147 Lines • ▼ Show 20 Lines | return array( | ||||
id(new PhabricatorStaticEditField()) | id(new PhabricatorStaticEditField()) | ||||
->setKey('displayType') | ->setKey('displayType') | ||||
->setLabel(pht('Blueprint Type')) | ->setLabel(pht('Blueprint Type')) | ||||
->setDescription(pht('Type of blueprint.')) | ->setDescription(pht('Type of blueprint.')) | ||||
->setValue($impl->getBlueprintName()), | ->setValue($impl->getBlueprintName()), | ||||
id(new PhabricatorTextEditField()) | id(new PhabricatorTextEditField()) | ||||
->setKey('type') | ->setKey('type') | ||||
->setLabel(pht('Type')) | ->setLabel(pht('Type')) | ||||
->setIsConduitOnly(true) | ->setIsFormField(false) | ||||
->setTransactionType( | ->setTransactionType( | ||||
DrydockBlueprintTypeTransaction::TRANSACTIONTYPE) | DrydockBlueprintTypeTransaction::TRANSACTIONTYPE) | ||||
->setDescription(pht('When creating a blueprint, set the type.')) | ->setDescription(pht('When creating a blueprint, set the type.')) | ||||
->setConduitDescription(pht('Set the blueprint type.')) | ->setConduitDescription(pht('Set the blueprint type.')) | ||||
->setConduitTypeDescription(pht('Blueprint type.')) | ->setConduitTypeDescription(pht('Blueprint type.')) | ||||
->setValue($object->getClassName()), | ->setValue($object->getClassName()), | ||||
id(new PhabricatorTextEditField()) | id(new PhabricatorTextEditField()) | ||||
->setKey('name') | ->setKey('name') | ||||
Show All 9 Lines |