You are here

19 calls to drupal_valid_test_ua() in Drupal 8

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 simpletest.
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.
SelectProfileForm::buildForm in core/lib/Drupal/Core/Installer/Form/SelectProfileForm.php
Form constructor.
SessionConfiguration::drupalValidTestUa in core/lib/Drupal/Core/Session/SessionConfiguration.php
Wraps drupal_valid_test_ua().
simpletest_uninstall in core/modules/simpletest/simpletest.install
Implements hook_uninstall().
system_requirements in core/modules/system/system.install
Implements hook_requirements().
TestBase::prepareEnvironment in core/modules/simpletest/src/TestBase.php
Prepares the current environment for running the test.
TestBase::restoreEnvironment in core/modules/simpletest/src/TestBase.php
Cleans up the test environment and restores the original environment.
TestHttpClientMiddleware::__invoke in core/lib/Drupal/Core/Test/HttpClientMiddleware/TestHttpClientMiddleware.php
HTTP middleware that replaces the user agent for simpletest requests.
TestKernel::__construct in core/lib/Drupal/Core/Test/TestKernel.php
Constructs a DrupalKernel object.
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.