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 main for host
  6. Other projects
Title Object type File name Summary
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.
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 the status page behavior with no setting.
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::bagType function core/modules/system/tests/modules/trusted_hosts_test/src/Controller/TrustedHostsTestController.php Creates a fake request and prints out the class name of the specified bag.
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
UriHostConstraint class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UriHostConstraint.php Checks if a string conforms to the RFC 3986 host component.
UriHostConstraint.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UriHostConstraint.php
UriHostConstraint::__construct function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UriHostConstraint.php #[HasNamedArguments]
UriHostConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UriHostConstraintValidator.php Validates if a string conforms to the RFC 3986 host component.
UriHostConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UriHostConstraintValidator.php
UriHostConstraintValidator::isValid function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UriHostConstraintValidator.php Return TRUE if value is a valid hostname or IP address literal.
UriHostConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/UriHostConstraintValidator.php
UriHostValidatorTest class core/tests/Drupal/KernelTests/Core/Validation/UriHostValidatorTest.php Tests the UriHost validator.
UriHostValidatorTest.php file core/tests/Drupal/KernelTests/Core/Validation/UriHostValidatorTest.php
UriHostValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Validation/UriHostValidatorTest.php Modules to install.
UriHostValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/Validation/UriHostValidatorTest.php
UriHostValidatorTest::testUriHost function core/tests/Drupal/KernelTests/Core/Validation/UriHostValidatorTest.php Tests the UriHost constraint validator.
ValidateHostnameTest class core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php Tests Drupal\Core\DrupalKernel.
ValidateHostnameTest.php file core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php
ValidateHostnameTest::providerTestValidateHostname function core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php Provides test data for testValidateHostname().
ValidateHostnameTest::testValidateHostname function core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php Tests validate hostname.

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