Mercurial > hg > cmmr2012-drupal-site
comparison core/globals.api.php @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c75dbcec494b |
---|---|
1 <?php | |
2 | |
3 /** | |
4 * @file | |
5 * These are the global variables that Drupal uses. | |
6 */ | |
7 | |
8 /** | |
9 * The insecure base URL of the Drupal installation. | |
10 * | |
11 * @see \Drupal\Core\DrupalKernel::initializeRequestGlobals() | |
12 */ | |
13 global $base_insecure_url; | |
14 | |
15 /** | |
16 * The base path of the Drupal installation. | |
17 * | |
18 * This will at least default to '/'. | |
19 * | |
20 * @see \Drupal\Core\DrupalKernel::initializeRequestGlobals() | |
21 */ | |
22 global $base_path; | |
23 | |
24 /** | |
25 * The root URL of the host, excluding the path. | |
26 * | |
27 * @see \Drupal\Core\DrupalKernel::initializeRequestGlobals() | |
28 */ | |
29 global $base_root; | |
30 | |
31 /** | |
32 * The secure base URL of the Drupal installation. | |
33 * | |
34 * @see \Drupal\Core\DrupalKernel::initializeRequestGlobals() | |
35 */ | |
36 global $base_secure_url; | |
37 | |
38 /** | |
39 * The base URL of the Drupal installation. | |
40 * | |
41 * @see \Drupal\Core\DrupalKernel::initializeRequestGlobals() | |
42 */ | |
43 global $base_url; | |
44 | |
45 /** | |
46 * Allows defining of site-specific service providers for the Drupal kernel. | |
47 * | |
48 * To define a site-specific service provider class, use code like this: | |
49 * @code | |
50 * $GLOBALS['conf']['container_service_providers']['MyClassName'] = 'Drupal\My\Namespace\MyClassName'; | |
51 * @endcode | |
52 * | |
53 * @see \Drupal\Core\DrupalKernel::$serviceProviderClasses | |
54 */ | |
55 global $conf; | |
56 | |
57 /** | |
58 * Array of configuration overrides from the settings.php file. | |
59 */ | |
60 global $config; | |
61 | |
62 /** | |
63 * The location of file system directories used for site configuration data. | |
64 * | |
65 * @see drupal_install_config_directories() | |
66 */ | |
67 global $config_directories; | |
68 | |
69 /** | |
70 * Store settings and profile information during installation process. | |
71 * | |
72 * @see install_drupal() | |
73 */ | |
74 global $install_state; | |
75 | |
76 /** | |
77 * Array of the number of items per page for each pager. | |
78 * | |
79 * The array index is the pager element index (0 by default). | |
80 * | |
81 * @see pager_default_initialize() | |
82 */ | |
83 global $pager_limits; | |
84 | |
85 /** | |
86 * Array of current page numbers for each pager. | |
87 * | |
88 * The array index is the pager element index (0 by default). | |
89 * | |
90 * @see pager_default_initialize() | |
91 */ | |
92 global $pager_page_array; | |
93 | |
94 /** | |
95 * Array of the total number of pages for each pager. | |
96 * | |
97 * The array index is the pager element index (0 by default). | |
98 * | |
99 * @see pager_default_initialize() | |
100 */ | |
101 global $pager_total; | |
102 | |
103 /** | |
104 * Array of the total number of items for each pager. | |
105 * | |
106 * The array index is the pager element index (0 by default). | |
107 * | |
108 * @see pager_default_initialize() | |
109 */ | |
110 global $pager_total_items; |