| 1 | <?php |
| 2 | /* |
| 3 | +--------------------------------------------------------------------+ |
| 4 | | Copyright CiviCRM LLC. All rights reserved. | |
| 5 | | | |
| 6 | | This work is published under the GNU AGPLv3 license with some | |
| 7 | | permitted exceptions and without any warranty. For full license | |
| 8 | | and copyright information, see https://civicrm.org/licensing | |
| 9 | +--------------------------------------------------------------------+ |
| 10 | */ |
| 11 | |
| 12 | /** |
| 13 | * |
| 14 | * @package CRM |
| 15 | * @copyright CiviCRM LLC https://civicrm.org/licensing |
| 16 | */ |
| 17 | /* |
| 18 | * Settings metadata file |
| 19 | */ |
| 20 | return [ |
| 21 | 'ext_repo_url' => [ |
| 22 | 'group_name' => 'Extension Preferences', |
| 23 | 'group' => 'ext', |
| 24 | 'name' => 'ext_repo_url', |
| 25 | 'type' => 'String', |
| 26 | 'quick_form_type' => 'Element', |
| 27 | 'html_attributes' => [ |
| 28 | 'size' => 64, |
| 29 | 'maxlength' => 128, |
| 30 | ], |
| 31 | 'html_type' => 'text', |
| 32 | 'default' => 'https://civicrm.org/extdir/ver={ver}|cms={uf}', |
| 33 | 'add' => '4.3', |
| 34 | 'title' => ts('Extension Repo URL'), |
| 35 | 'is_domain' => 1, |
| 36 | 'is_contact' => 0, |
| 37 | 'help_text' => '', |
| 38 | ], |
| 39 | ]; |