constant DRUPAL_ROOT in Skinr 8.2
Same name and namespace in other branches
- 7.2 tests/update.php \DRUPAL_ROOT
Defines the root directory of the Drupal installation.
3 uses of DRUPAL_ROOT
- SkinrUpdateScriptTest::testSkinrImplementsApi in src/
Tests/ skinr.test - Tests access to the update script.
- skinr_implements_api in ./
skinr.module - Returns a list of extensions that implement this API version of Skinr.
- update.php in tests/
update.php - Simulates cache clearing while running update script.
File
- tests/
update.php, line 19 - Simulates cache clearing while running update script.
Code
define('DRUPAL_ROOT', $_GET['drupal_root']);