Page MenuHomePhabricator

D18848.id.diff
No OneTemporary

D18848.id.diff

diff --git a/src/applications/drydock/editor/DrydockBlueprintEditEngine.php b/src/applications/drydock/editor/DrydockBlueprintEditEngine.php
--- a/src/applications/drydock/editor/DrydockBlueprintEditEngine.php
+++ b/src/applications/drydock/editor/DrydockBlueprintEditEngine.php
@@ -124,6 +124,17 @@
->setTransactionType(DrydockBlueprintNameTransaction::TRANSACTIONTYPE)
->setIsRequired(true)
->setValue($object->getBlueprintName()),
+ id(new PhabricatorBoolEditField())
+ ->setKey('disable')
+ ->setLabel(pht('Disabled'))
+ ->setIsConduitOnly(true)
+ ->setTransactionType(
+ DrydockBlueprintDisableTransaction::TRANSACTIONTYPE)
+ ->setDescription(pht('Disable the blueprint.'))
+ ->setConduitDescription(pht('Disable or enable the blueprint.'))
+ ->setConduitTypeDescription(pht('True to disable the blueprint.'))
+ ->setOptions(pht('Enable'), pht('Disable'))
+ ->setValue($object->getIsDisabled()),
);
}

File Metadata

Mime Type
text/plain
Expires
Oct 16 2024, 4:54 PM (4 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6718318
Default Alt Text
D18848.id.diff (1021 B)

Event Timeline