You are here

SessionTestTrait.php in SimpleTest 8.3

Namespace

Drupal\simpletest

File

src/SessionTestTrait.php
View source
<?php

namespace Drupal\simpletest;

@trigger_error(__NAMESPACE__ . '\\SessionTestTrait is deprecated in Drupal 8.1.1 will be removed before 9.0.0. Use \\Drupal\\Tests\\SessionTestTrait instead.', E_USER_DEPRECATED);
use Drupal\Tests\SessionTestTrait as BaseSessionTestTrait;

/**
 * Provides methods to generate and get session name in tests.
 *
 * @deprecated in Drupal 8.1.1 will be removed before 9.0.0. Use
 *   \Drupal\Tests\SessionTestTrait instead.
 *
 * @see \Drupal\Tests
 */
trait SessionTestTrait {
  use BaseSessionTestTrait;

}

Traits

Namesort descending Description
SessionTestTrait Deprecated Provides methods to generate and get session name in tests.