BlockContentBlock::$account

Same name in other branches
  1. 9 core/modules/block_content/src/Plugin/Block/BlockContentBlock.php \Drupal\block_content\Plugin\Block\BlockContentBlock::account
  2. 8.9.x core/modules/block_content/src/Plugin/Block/BlockContentBlock.php \Drupal\block_content\Plugin\Block\BlockContentBlock::account
  3. 10 core/modules/block_content/src/Plugin/Block/BlockContentBlock.php \Drupal\block_content\Plugin\Block\BlockContentBlock::account

The Drupal account to use for checking for access to block.

Type: \Drupal\Core\Session\AccountInterface

File

core/modules/block_content/src/Plugin/Block/BlockContentBlock.php, line 50

Class

BlockContentBlock
Defines a generic block type.

Namespace

Drupal\block_content\Plugin\Block

Code

protected $account;

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