You are here

protected property FieldAccessTest::$activeUid in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/Entity/FieldAccessTest.php \Drupal\system\Tests\Entity\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/modules/system/src/Tests/Entity/FieldAccessTest.php, line 35
Contains \Drupal\system\Tests\Entity\FieldAccessTest.

Class

FieldAccessTest
Tests Field level access hooks.

Namespace

Drupal\system\Tests\Entity

Code

protected $activeUid;