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
- drupal/core/modules/system/lib/Drupal/system/Tests/Entity/FieldAccessTest.php, line 32
- Contains \Drupal\system\Tests\Entity\FieldAccessTest.
Class
- FieldAccessTest
- Tests the functionality of field access.
Namespace
Drupal\system\Tests\Entity
Code
protected $activeUid;