You are here

public function CategoryAutocompleteController::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/block/src/Controller/CategoryAutocompleteController.php \Drupal\block\Controller\CategoryAutocompleteController::__construct()

Constructs a new CategoryAutocompleteController.

Parameters

\Drupal\Core\Block\BlockManagerInterface $block_manager: The block manager.

File

core/modules/block/src/Controller/CategoryAutocompleteController.php, line 35
Contains \Drupal\block\Controller\CategoryAutocompleteController.

Class

CategoryAutocompleteController
Returns autocomplete responses for block categories.

Namespace

Drupal\block\Controller

Code

public function __construct(BlockManagerInterface $block_manager) {
  $this->blockManager = $block_manager;
}