16 calls to drupal_valid_test_ua()

CoreServiceProvider::registerTest in core/lib/Drupal/Core/CoreServiceProvider.php
Registers services and event subscribers for a site under test.
DrupalKernel::bootEnvironment in core/lib/Drupal/Core/DrupalKernel.php
Setup a consistent PHP environment.
DrupalKernel::findSitePath in core/lib/Drupal/Core/DrupalKernel.php
Returns the appropriate site directory for a request.
drupal_generate_test_ua in core/includes/bootstrap.inc
Generates a user agent string with a HMAC and timestamp for tests.
ExtensionDiscovery::scan in core/lib/Drupal/Core/Extension/ExtensionDiscovery.php
Discovers available extensions of a given type.
FunctionalTestSetupTrait::prepareEnvironment in core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php
Prepares the current environment for running the test.
install_begin_request in core/includes/install.core.inc
Begins an installation request, modifying the installation state as needed.
KernelTestBase::bootEnvironment in core/tests/Drupal/KernelTests/KernelTestBase.php
Bootstraps a basic test environment.
PhpExtensionsValidator::insideTest in core/modules/package_manager/src/Validator/PhpExtensionsValidator.php
Whether this validator is running inside a test.
SelectProfileForm::buildForm in core/lib/Drupal/Core/Installer/Form/SelectProfileForm.php
SessionConfiguration::drupalValidTestUa in core/lib/Drupal/Core/Session/SessionConfiguration.php
Wraps drupal_valid_test_ua().
TestHttpClientMiddleware::__invoke in core/lib/Drupal/Core/Test/HttpClientMiddleware/TestHttpClientMiddleware.php
HTTP middleware that replaces the user agent for test requests.
TestKernel::__construct in core/lib/Drupal/Core/Test/TestKernel.php
update.php in ./update.php
The PHP page that handles updating the Drupal installation.
update.php in core/assets/scaffold/files/update.php
The PHP page that handles updating the Drupal installation.
UpdateManagerInstall::submitForm in core/modules/update/src/Form/UpdateManagerInstall.php
Form submission handler.

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