getViewer(); $mfa_field = id(new PhabricatorApplyEditField()) ->setViewer($viewer) ->setKey(self::FIELDKEY) ->setLabel(pht('MFA')) ->setIsFormField(false) ->setCommentActionLabel(pht('Sign With MFA')) ->setCanApplyWithoutEditCapability(true) ->setCommentActionOrder(12000) ->setActionDescription( pht('You will be prompted to provide MFA when you submit.')) ->setDescription(pht('Sign this transaction group with MFA.')) ->setConduitTypeDescription( pht('True to sign this transaction group with MFA.')) ->setTransactionType($mfa_type); return array( $mfa_field, ); } }