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\ContextProviderCode
protected $account;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.