You are here

protected property MultipleStaticContext::$account in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/block/tests/modules/block_test/src/ContextProvider/MultipleStaticContext.php \Drupal\block_test\ContextProvider\MultipleStaticContext::account
  2. 9 core/modules/block/tests/modules/block_test/src/ContextProvider/MultipleStaticContext.php \Drupal\block_test\ContextProvider\MultipleStaticContext::account

The current user.

Type: \Drupal\Core\Session\AccountInterface

File

core/modules/block/tests/modules/block_test/src/ContextProvider/MultipleStaticContext.php, line 21

Class

MultipleStaticContext
Sets multiple contexts for a static value.

Namespace

Drupal\block_test\ContextProvider

Code

protected $account;