constant DRUPAL_ROOT

136 uses of DRUPAL_ROOT
AccountFormController::form in drupal/core/modules/user/lib/Drupal/user/AccountFormController.php
Overrides Drupal\Core\Entity\EntityFormController::form().
aggregator_test_feed in drupal/core/modules/aggregator/tests/aggregator_test.module
Page callback. Generates a test feed and simulates last-modified and etags.
AnnotatedClassDiscovery::getDefinitions in drupal/core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php
Implements Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions().
authorize.php in drupal/core/authorize.php
Administrative script for running authorized file operations.
authorize_get_filetransfer in drupal/core/includes/authorize.inc
Gets a FileTransfer class for a specific transfer method and settings.

... See full list

File

drupal/core/modules/system/tests/https.php, line 23
Fake an HTTPS request, for use during testing.

Code

define('DRUPAL_ROOT', getcwd());