function BlockComponentRenderArray::__construct
Creates a BlockComponentRenderArray object.
Parameters
\Drupal\Core\Session\AccountInterface $current_user: The current user.
File
- 
              core/modules/ layout_builder/ src/ EventSubscriber/ BlockComponentRenderArray.php, line 43 
Class
- BlockComponentRenderArray
- Builds render arrays and handles access for all block components.
Namespace
Drupal\layout_builder\EventSubscriberCode
public function __construct(AccountInterface $current_user) {
  $this->currentUser = $current_user;
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
