You are here

protected property FieldAccessTest::$activeUid in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php \Drupal\KernelTests\Core\Field\FieldAccessTest::activeUid

Holds the currently active global user ID that initiated the test run.

The user ID gets replaced during the test and needs to be kept here so that it can be restored at the end of the test run.

Type: int

File

core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php, line 39

Class

FieldAccessTest
Tests Field level access hooks.

Namespace

Drupal\KernelTests\Core\Field

Code

protected $activeUid;