Differential D19842 Diff 47384 src/applications/calendar/editor/PhabricatorCalendarExportEditEngine.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/editor/PhabricatorCalendarExportEditEngine.php
Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Lines | $fields = array( | ||||
->setValue($object->getName()), | ->setValue($object->getName()), | ||||
id(new PhabricatorBoolEditField()) | id(new PhabricatorBoolEditField()) | ||||
->setKey('disabled') | ->setKey('disabled') | ||||
->setOptions(pht('Active'), pht('Disabled')) | ->setOptions(pht('Active'), pht('Disabled')) | ||||
->setLabel(pht('Disabled')) | ->setLabel(pht('Disabled')) | ||||
->setDescription(pht('Disable the export.')) | ->setDescription(pht('Disable the export.')) | ||||
->setTransactionType( | ->setTransactionType( | ||||
PhabricatorCalendarExportDisableTransaction::TRANSACTIONTYPE) | PhabricatorCalendarExportDisableTransaction::TRANSACTIONTYPE) | ||||
->setIsConduitOnly(true) | ->setIsFormField(false) | ||||
->setConduitDescription(pht('Disable or restore the export.')) | ->setConduitDescription(pht('Disable or restore the export.')) | ||||
->setConduitTypeDescription(pht('True to cancel the export.')) | ->setConduitTypeDescription(pht('True to cancel the export.')) | ||||
->setValue($object->getIsDisabled()), | ->setValue($object->getIsDisabled()), | ||||
id(new PhabricatorTextEditField()) | id(new PhabricatorTextEditField()) | ||||
->setKey('queryKey') | ->setKey('queryKey') | ||||
->setLabel(pht('Query Key')) | ->setLabel(pht('Query Key')) | ||||
->setDescription(pht('Query to execute.')) | ->setDescription(pht('Query to execute.')) | ||||
->setIsRequired(true) | ->setIsRequired(true) | ||||
Show All 23 Lines |