FieldAccessTest::$activeUid
Same name in other branches
- 9 core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php \Drupal\KernelTests\Core\Field\FieldAccessTest::activeUid
- 8.9.x core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php \Drupal\KernelTests\Core\Field\FieldAccessTest::activeUid
- 11.x 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 41
Class
- FieldAccessTest
- Tests Field level access hooks.
Namespace
Drupal\KernelTests\Core\FieldCode
protected $activeUid;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.