AccessibleTestingTrait::$account

Same name in other branches
  1. 8.9.x core/modules/block_content/tests/src/Unit/Access/AccessibleTestingTrait.php \Drupal\Tests\block_content\Unit\Access\AccessibleTestingTrait::account
  2. 10 core/modules/block_content/tests/src/Unit/Access/AccessibleTestingTrait.php \Drupal\Tests\block_content\Unit\Access\AccessibleTestingTrait::account
  3. 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\Access

Code

protected $account;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.