Merge pull request #17856 from civicrm/5.28
[civicrm-core.git] / settings / Url.setting.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
6b7eb9df 4 | Copyright CiviCRM LLC. All rights reserved. |
6a488035 5 | |
6b7eb9df
TO
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 |
6a488035 9 +--------------------------------------------------------------------+
d25dd0ee 10 */
6a488035
TO
11
12/**
13 *
14 * @package CRM
ca5cec67 15 * @copyright CiviCRM LLC https://civicrm.org/licensing
6a488035
TO
16 * $Id$
17 *
18 */
19/*
20 * Settings metadata file
21 */
dfe1f88a
CW
22return [
23 'userFrameworkResourceURL' => [
ac47f7ca 24 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
14f20d22
CW
25 'group' => 'url',
26 'group_name' => 'URL Preferences',
6a488035 27 'name' => 'userFrameworkResourceURL',
cfc2c4b8 28 'title' => ts('CiviCRM Resource URL'),
6a488035 29 'type' => 'String',
c1a2145a 30 'html_type' => 'text',
2937fb4a 31 'quick_form_type' => 'Element',
08e57c58 32 'default' => NULL,
6a488035 33 'add' => '4.1',
6a488035
TO
34 'is_domain' => 1,
35 'is_contact' => 0,
cfc2c4b8 36 'description' => ts('Absolute URL of the location where the civicrm module or component has been installed.'),
08e57c58 37 'help_text' => NULL,
d9d7e7dd 38 'validate_callback' => 'CRM_Utils_Rule::urlish',
dfe1f88a
CW
39 ],
40 'imageUploadURL' => [
ac47f7ca 41 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
14f20d22
CW
42 'group' => 'url',
43 'group_name' => 'URL Preferences',
cfc2c4b8 44 'title' => ts('Image Upload URL'),
6a488035
TO
45 'name' => 'imageUploadURL',
46 'type' => 'String',
c1a2145a 47 'html_type' => 'text',
2937fb4a 48 'quick_form_type' => 'Element',
08e57c58 49 'default' => NULL,
6a488035 50 'add' => '4.1',
6a488035
TO
51 'is_domain' => 1,
52 'is_contact' => 0,
cfc2c4b8 53 'description' => ts('URL of the location for uploaded image files.'),
08e57c58 54 'help_text' => NULL,
d9d7e7dd 55 'validate_callback' => 'CRM_Utils_Rule::urlish',
dfe1f88a
CW
56 ],
57 'customCSSURL' => [
ac47f7ca 58 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
14f20d22
CW
59 'group' => 'url',
60 'group_name' => 'URL Preferences',
6a488035 61 'name' => 'customCSSURL',
cfc2c4b8 62 'title' => ts('Custom CSS URL'),
6a488035 63 'type' => 'String',
c1a2145a 64 'html_type' => 'text',
2937fb4a 65 'quick_form_type' => 'Element',
08e57c58 66 'default' => NULL,
6a488035 67 'add' => '4.1',
6a488035
TO
68 'is_domain' => 1,
69 'is_contact' => 0,
cfc2c4b8 70 'description' => ts('You can modify the look and feel of CiviCRM by adding your own stylesheet. For small to medium sized modifications, use your css file to override some of the styles in civicrm.css. Or if you need to make drastic changes, you can choose to disable civicrm.css completely.'),
2937fb4a 71 'help_text' => NULL,
d9d7e7dd 72 'validate_callback' => 'CRM_Utils_Rule::urlish',
dfe1f88a
CW
73 ],
74 'extensionsURL' => [
ac47f7ca 75 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
2937fb4a
TO
76 'group' => 'url',
77 'group_name' => 'URL Preferences',
cfc2c4b8 78 'title' => ts('Extension Resource URL'),
2937fb4a
TO
79 'name' => 'extensionsURL',
80 'type' => 'String',
c1a2145a 81 'html_type' => 'text',
2937fb4a
TO
82 'quick_form_type' => 'Element',
83 'default' => NULL,
84 'add' => '4.1',
85 'is_domain' => 1,
86 'is_contact' => 0,
cfc2c4b8 87 'description' => ts('Base URL for extension resources (images, stylesheets, etc). This should match extensionsDir.'),
08e57c58 88 'help_text' => NULL,
d9d7e7dd 89 'validate_callback' => 'CRM_Utils_Rule::urlish',
dfe1f88a
CW
90 ],
91];