Search for host

  1. Search 7.x for host
  2. Search 9.5.x for host
  3. Search 8.9.x for host
  4. Search 10.3.x for host
  5. Search 11.x for host
  6. Other projects
Title Object type File name Summary
AllExceptHostEntity class core/modules/system/tests/modules/entity_reference_test/src/Plugin/EntityReferenceSelection/AllExceptHostEntity.php Allows access to all entities except for the host entity.
AllExceptHostEntity.php file core/modules/system/tests/modules/entity_reference_test/src/Plugin/EntityReferenceSelection/AllExceptHostEntity.php
AllExceptHostEntity::buildEntityQuery function core/modules/system/tests/modules/entity_reference_test/src/Plugin/EntityReferenceSelection/AllExceptHostEntity.php
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.
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
Comment::setHostname function core/modules/comment/src/Entity/Comment.php
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
CommentHostnameTest::testGetDefaultHostname function core/modules/comment/tests/src/Kernel/CommentHostnameTest.php Tests hostname default value callback.
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.
EmphasisTest::$host property core/modules/ckeditor5/tests/src/FunctionalJavascript/EmphasisTest.php A host entity with a body field to use the <em> tag in.
FileUrlTest::testFilesUrlWithDifferentHostName function core/modules/file/tests/src/Kernel/FileUrlTest.php Tests public files with a different host name from settings.
FilterEntityReferenceTrait::$hostBundle property core/modules/views_ui/tests/src/Traits/FilterEntityReferenceTrait.php The host content type to add the entity reference field to.
FilterEntityReferenceTrait::$hostEntities property core/modules/views_ui/tests/src/Traits/FilterEntityReferenceTrait.php Host entities which contain the reference fields to the target entities.
ImageTestBase::$host property core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTestBase.php A host entity with a body field to embed images in.
MailerDsnConfigValidationTest::testMailerHostValidation function core/tests/Drupal/KernelTests/Core/Config/MailerDsnConfigValidationTest.php Tests the validation of the mailer host.
MediaTestBase::$host property core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTestBase.php A host entity with a body field to embed media in.
PhpTuf\ComposerStager\API\Precondition\Service\HostSupportsRunningProcessesInterface service core/modules/package_manager/package_manager.services.yml PhpTuf\ComposerStager\Internal\Precondition\Service\HostSupportsRunningProcesses
SourceEditingTestBase::$host property core/modules/ckeditor5/tests/src/FunctionalJavascript/SourceEditingTestBase.php A host entity with a body field whose text to edit with CKEditor 5.
TableTest::$host property core/modules/ckeditor5/tests/src/FunctionalJavascript/TableTest.php A host entity with a body field to embed images in.
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 class core/modules/shortcut/tests/src/Functional/TrustedHostsTest.php Tests output on the status overview page.
TrustedHostsTest.php file core/modules/shortcut/tests/src/Functional/TrustedHostsTest.php
TrustedHostsTest.php file core/modules/system/tests/src/Functional/System/TrustedHostsTest.php
TrustedHostsTest::$defaultTheme property core/modules/system/tests/src/Functional/System/TrustedHostsTest.php
TrustedHostsTest::$defaultTheme property core/modules/shortcut/tests/src/Functional/TrustedHostsTest.php
TrustedHostsTest::$modules property core/modules/shortcut/tests/src/Functional/TrustedHostsTest.php
TrustedHostsTest::setUp function core/modules/system/tests/src/Functional/System/TrustedHostsTest.php
TrustedHostsTest::setUp function core/modules/shortcut/tests/src/Functional/TrustedHostsTest.php
TrustedHostsTest::testFakeRequests function core/modules/system/tests/src/Functional/System/TrustedHostsTest.php Tests that fake requests have the proper host configured.
TrustedHostsTest::testRequestBags function core/modules/system/tests/src/Functional/System/TrustedHostsTest.php Tests that the request bags have the correct classes.
TrustedHostsTest::testShortcut function core/modules/shortcut/tests/src/Functional/TrustedHostsTest.php Tests that shortcut module works together with host verification.

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