Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SessionConfiguration.php

function SessionConfiguration::drupalValidTestUa

Wraps drupal_valid_test_ua().

Return value

string|false Either the simpletest prefix (the string "simpletest" followed by any number of digits) or FALSE if the user agent does not contain a valid HMAC and timestamp.

1 call to SessionConfiguration::drupalValidTestUa()
SessionConfiguration::getUnprefixedName in core/lib/Drupal/Core/Session/SessionConfiguration.php
Returns the session cookie name without the secure/insecure prefix.

File

core/lib/Drupal/Core/Session/SessionConfiguration.php, line 155

Class

SessionConfiguration
Defines the default session configuration generator.

Namespace

Drupal\Core\Session

Code

protected function drupalValidTestUa() {
    return drupal_valid_test_ua();
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal