Skip to content

Commit

Permalink
Merge pull request #16679 from pradpnayak/priceSetSchema
Browse files Browse the repository at this point in the history
added sudo constant for sms api type
  • Loading branch information
seamuslee001 authored Mar 4, 2020
2 parents 2bef0ef + 2d129ae commit 992a981
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CRM/SMS/DAO/Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/SMS/Provider.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:12dc41bf4f9c0eef63e616eec8cf6113)
* (GenCodeChecksum:8f832b1b8dbd4cbee327a0900c128cc4)
*/

/**
Expand Down Expand Up @@ -211,6 +211,10 @@ public static function &fields() {
'html' => [
'type' => 'Select',
],
'pseudoconstant' => [
'optionGroupName' => 'sms_api_type',
'optionEditPath' => 'civicrm/admin/options/sms_api_type',
],
],
'api_url' => [
'name' => 'api_url',
Expand Down
3 changes: 3 additions & 0 deletions xml/schema/SMS/Provider.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
<type>int unsigned</type>
<required>true</required>
<comment>points to value in civicrm_option_value for group sms_api_type</comment>
<pseudoconstant>
<optionGroupName>sms_api_type</optionGroupName>
</pseudoconstant>
<html>
<type>Select</type>
</html>
Expand Down

0 comments on commit 992a981

Please sign in to comment.