AccessibleTestingTrait::$account
Same name in other branches
- 8.9.x core/modules/block_content/tests/src/Unit/Access/AccessibleTestingTrait.php \Drupal\Tests\block_content\Unit\Access\AccessibleTestingTrait::account
- 10 core/modules/block_content/tests/src/Unit/Access/AccessibleTestingTrait.php \Drupal\Tests\block_content\Unit\Access\AccessibleTestingTrait::account
- 11.x core/modules/block_content/tests/src/Unit/Access/AccessibleTestingTrait.php \Drupal\Tests\block_content\Unit\Access\AccessibleTestingTrait::account
The test account.
Type: \Drupal\Core\Session\AccountInterface
File
-
core/
modules/ block_content/ tests/ src/ Unit/ Access/ AccessibleTestingTrait.php, line 18
Class
- AccessibleTestingTrait
- Helper methods testing accessible interfaces.
Namespace
Drupal\Tests\block_content\Unit\AccessCode
protected $account;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.