function BlockHooks::__construct

Same name and namespace in other branches
  1. 11.x core/modules/block/src/Hook/BlockHooks.php \Drupal\block\Hook\BlockHooks::__construct()

File

core/modules/block/src/Hook/BlockHooks.php, line 25

Class

BlockHooks
Hook implementations for block.

Namespace

Drupal\block\Hook

Code

public function __construct(protected ThemeHandlerInterface $themeHandler) {
}

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