Search for host

  1. Search 7.x for host
  2. Search 9.5.x for host
  3. Search 10.3.x for host
  4. Search 11.x for host
  5. Search main for host
  6. Other projects
Title Object type File name Summary
BuildTestBase::$hostName property core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Our native host name, used by PHP when it starts up the server.
BuildTestBase::$hostPort property core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Port that will be tested.
CKEditorIntegrationTest::$host property core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php A host entity with a body field to embed media in.
Comment::getDefaultHostname function core/modules/comment/src/Entity/Comment.php Returns the default value for entity hostname base field.
Comment::getHostname function core/modules/comment/src/Entity/Comment.php Returns the comment author's hostname.
Comment::setHostname function core/modules/comment/src/Entity/Comment.php Sets the hostname of the author of the comment.
CommentHostnameTest class core/modules/comment/tests/src/Kernel/CommentHostnameTest.php Tests the hostname base field.
CommentHostnameTest.php file core/modules/comment/tests/src/Kernel/CommentHostnameTest.php
CommentHostnameTest::$modules property core/modules/comment/tests/src/Kernel/CommentHostnameTest.php Modules to enable.
CommentHostnameTest::testGetDefaultHostname function core/modules/comment/tests/src/Kernel/CommentHostnameTest.php Tests hostname default value callback.
CommentHostnameUpdateTest class core/modules/comment/tests/src/Functional/Update/CommentHostnameUpdateTest.php Tests that comment hostname settings are properly updated.
CommentHostnameUpdateTest.php file core/modules/comment/tests/src/Functional/Update/CommentHostnameUpdateTest.php
CommentHostnameUpdateTest::setDatabaseDumpFiles function core/modules/comment/tests/src/Functional/Update/CommentHostnameUpdateTest.php Set database dump files to be used.
CommentHostnameUpdateTest::testCommentPostUpdateAddIpAddressSetting function core/modules/comment/tests/src/Functional/Update/CommentHostnameUpdateTest.php Tests comment_post_update_add_ip_address_setting().
CommentHostnameUpdateTest::testCommentUpdate8600 function core/modules/comment/tests/src/Functional/Update/CommentHostnameUpdateTest.php Tests comment_update_8600().
CommentInterface::getHostname function core/modules/comment/src/CommentInterface.php Returns the comment author's hostname.
CommentInterface::setHostname function core/modules/comment/src/CommentInterface.php Sets the hostname of the author of the comment.
DrupalKernel::setupTrustedHosts function core/lib/Drupal/Core/DrupalKernel.php Sets up the lists of trusted HTTP Host headers.
DrupalKernel::validateHostname function core/lib/Drupal/Core/DrupalKernel.php Validates the hostname supplied from the HTTP request.
DrupalKernel::validateHostnameLength function core/lib/Drupal/Core/DrupalKernel.php Validates a hostname length.
DrupalKernelTest::providerTestTrustedHosts function core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php Provides test data for testTrustedHosts().
DrupalKernelTest::testTrustedHosts function core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php Tests hostname validation with settings.
FileTransfer::$hostname property core/lib/Drupal/Core/FileTransfer/FileTransfer.php The hostname for this file transfer.
FileTransferTest::$hostname property core/modules/system/tests/src/Functional/FileTransfer/FileTransferTest.php
FileUrlTest::testFilesUrlWithDifferentHostName function core/modules/file/tests/src/Kernel/FileUrlTest.php Test public files with a different host name from settings.
TestFileTransfer::$host property core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php
TrustedHostsRequestFactory class core/lib/Drupal/Core/Http/TrustedHostsRequestFactory.php Provides a request factory for requests using host verification.
TrustedHostsRequestFactory.php file core/lib/Drupal/Core/Http/TrustedHostsRequestFactory.php
TrustedHostsRequestFactory::$host property core/lib/Drupal/Core/Http/TrustedHostsRequestFactory.php The host of the main request.
TrustedHostsRequestFactory::createRequest function core/lib/Drupal/Core/Http/TrustedHostsRequestFactory.php Creates a new request object.
TrustedHostsRequestFactory::__construct function core/lib/Drupal/Core/Http/TrustedHostsRequestFactory.php Creates a new TrustedHostsRequestFactory.
TrustedHostsRequestFactoryTest class core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php Tests the trusted hosts request factory.
TrustedHostsRequestFactoryTest.php file core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php
TrustedHostsRequestFactoryTest::providerTestCreateRequest function core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php Provides data for testCreateRequest().
TrustedHostsRequestFactoryTest::testCreateRequest function core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php Tests TrustedHostsRequestFactory::createRequest().
TrustedHostsTest class core/modules/system/tests/src/Functional/System/TrustedHostsTest.php Tests output on the status overview page.
TrustedHostsTest.php file core/modules/system/tests/src/Functional/System/TrustedHostsTest.php
TrustedHostsTest::$defaultTheme property core/modules/system/tests/src/Functional/System/TrustedHostsTest.php The theme to install as the default for testing.
TrustedHostsTest::setUp function core/modules/system/tests/src/Functional/System/TrustedHostsTest.php
TrustedHostsTest::testFakeRequests function core/modules/system/tests/src/Functional/System/TrustedHostsTest.php Tests that fake requests have the proper host configured.
TrustedHostsTest::testShortcut function core/modules/system/tests/src/Functional/System/TrustedHostsTest.php Tests that shortcut module works together with host verification.
TrustedHostsTest::testStatusPageWithConfiguration function core/modules/system/tests/src/Functional/System/TrustedHostsTest.php Tests that the status page shows the trusted patterns from settings.php.
TrustedHostsTest::testStatusPageWithoutConfiguration function core/modules/system/tests/src/Functional/System/TrustedHostsTest.php Tests that the status page shows an error when the trusted host setting
is missing from settings.php
TrustedHostsTestController class core/modules/system/tests/modules/trusted_hosts_test/src/Controller/TrustedHostsTestController.php Provides a test controller for testing the trusted hosts setting.
TrustedHostsTestController.php file core/modules/system/tests/modules/trusted_hosts_test/src/Controller/TrustedHostsTestController.php
TrustedHostsTestController::fakeRequestHost function core/modules/system/tests/modules/trusted_hosts_test/src/Controller/TrustedHostsTestController.php Creates a fake request and prints out its host.
trusted_hosts_test.info.yml file core/modules/system/tests/modules/trusted_hosts_test/trusted_hosts_test.info.yml core/modules/system/tests/modules/trusted_hosts_test/trusted_hosts_test.info.yml
trusted_hosts_test.routing.yml file core/modules/system/tests/modules/trusted_hosts_test/trusted_hosts_test.routing.yml core/modules/system/tests/modules/trusted_hosts_test/trusted_hosts_test.routing.yml
ValidateHostnameTest class core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php @coversDefaultClass \Drupal\Core\DrupalKernel[[api-linebreak]]
@group DrupalKernel
ValidateHostnameTest.php file core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php

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