Merge pull request #19487 from civicrm/5.34
[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 */
17/*
18 * Settings metadata file
19 */
dfe1f88a
CW
20return [
21 'userFrameworkResourceURL' => [
ac47f7ca 22 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
14f20d22
CW
23 'group' => 'url',
24 'group_name' => 'URL Preferences',
6a488035 25 'name' => 'userFrameworkResourceURL',
cfc2c4b8 26 'title' => ts('CiviCRM Resource URL'),
6a488035 27 'type' => 'String',
c1a2145a 28 'html_type' => 'text',
2937fb4a 29 'quick_form_type' => 'Element',
08e57c58 30 'default' => NULL,
6a488035 31 'add' => '4.1',
6a488035
TO
32 'is_domain' => 1,
33 'is_contact' => 0,
cfc2c4b8 34 'description' => ts('Absolute URL of the location where the civicrm module or component has been installed.'),
08e57c58 35 'help_text' => NULL,
d9d7e7dd 36 'validate_callback' => 'CRM_Utils_Rule::urlish',
dfe1f88a
CW
37 ],
38 'imageUploadURL' => [
ac47f7ca 39 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
14f20d22
CW
40 'group' => 'url',
41 'group_name' => 'URL Preferences',
cfc2c4b8 42 'title' => ts('Image Upload URL'),
6a488035
TO
43 'name' => 'imageUploadURL',
44 'type' => 'String',
c1a2145a 45 'html_type' => 'text',
2937fb4a 46 'quick_form_type' => 'Element',
08e57c58 47 'default' => NULL,
6a488035 48 'add' => '4.1',
6a488035
TO
49 'is_domain' => 1,
50 'is_contact' => 0,
cfc2c4b8 51 'description' => ts('URL of the location for uploaded image files.'),
08e57c58 52 'help_text' => NULL,
d9d7e7dd 53 'validate_callback' => 'CRM_Utils_Rule::urlish',
dfe1f88a
CW
54 ],
55 'customCSSURL' => [
ac47f7ca 56 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
14f20d22
CW
57 'group' => 'url',
58 'group_name' => 'URL Preferences',
6a488035 59 'name' => 'customCSSURL',
cfc2c4b8 60 'title' => ts('Custom CSS URL'),
6a488035 61 'type' => 'String',
c1a2145a 62 'html_type' => 'text',
2937fb4a 63 'quick_form_type' => 'Element',
08e57c58 64 'default' => NULL,
6a488035 65 'add' => '4.1',
6a488035
TO
66 'is_domain' => 1,
67 'is_contact' => 0,
cfc2c4b8 68 '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 69 'help_text' => NULL,
d9d7e7dd 70 'validate_callback' => 'CRM_Utils_Rule::urlish',
dfe1f88a
CW
71 ],
72 'extensionsURL' => [
ac47f7ca 73 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
2937fb4a
TO
74 'group' => 'url',
75 'group_name' => 'URL Preferences',
cfc2c4b8 76 'title' => ts('Extension Resource URL'),
2937fb4a
TO
77 'name' => 'extensionsURL',
78 'type' => 'String',
c1a2145a 79 'html_type' => 'text',
2937fb4a
TO
80 'quick_form_type' => 'Element',
81 'default' => NULL,
82 'add' => '4.1',
83 'is_domain' => 1,
84 'is_contact' => 0,
cfc2c4b8 85 'description' => ts('Base URL for extension resources (images, stylesheets, etc). This should match extensionsDir.'),
08e57c58 86 'help_text' => NULL,
d9d7e7dd 87 'validate_callback' => 'CRM_Utils_Rule::urlish',
dfe1f88a
CW
88 ],
89];