Search for baseUrl

  1. Search 7.x for baseUrl
  2. Search 8.9.x for baseUrl
  3. Search 10.3.x for baseUrl
  4. Search 11.x for baseUrl
  5. Other projects
Title Object type File name Summary
BrowserHtmlDebugTrait::$htmlOutputBaseUrl property core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php The Base URI to use for links to the output files.
BrowserTestBase::$baseUrl property core/tests/Drupal/Tests/BrowserTestBase.php The base URL.
BrowserTestBaseTest::testSimpleTestBaseUrlValidation function core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php Test if setting an invalid scheme in SIMPLETEST_BASE_URL throws an exception.
FunctionalTestSetupTrait::setupBaseUrl function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Sets up the base URL based upon the environment variable.
PublicStream::baseUrl function core/lib/Drupal/Core/StreamWrapper/PublicStream.php Finds and returns the base URL for public://.
RequestContext::$completeBaseUrl property core/lib/Drupal/Core/Routing/RequestContext.php The scheme, host and base path, for example "http://example.com/d8".
RequestContext::getCompleteBaseUrl function core/lib/Drupal/Core/Routing/RequestContext.php Gets the scheme, host and base path.
RequestContext::setCompleteBaseUrl function core/lib/Drupal/Core/Routing/RequestContext.php Sets the complete base URL for the Request context.
TestSiteInstallCommand::$baseUrl property core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php The base URL.
UpdateFetcher::getFetchBaseUrl function core/modules/update/src/UpdateFetcher.php Returns the base of the URL to fetch available update data for a project.
UpdateFetcherInterface::getFetchBaseUrl function core/modules/update/src/UpdateFetcherInterface.php Returns the base of the URL to fetch available update data for a project.
UrlGeneratorTest::testBaseURLGeneration function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Confirms that explicitly setting the base_url works with generated routes.
WebAssert::$baseUrl property core/tests/Drupal/Tests/WebAssert.php The absolute URL of the site under test.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.