CategoryAutocompleteController::__construct

public CategoryAutocompleteController::__construct(BlockManagerInterface $block_manager)

Constructs a new CategoryAutocompleteController.

Parameters

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

File

core/modules/block/src/Controller/CategoryAutocompleteController.php, line 30

Class

CategoryAutocompleteController
Returns autocomplete responses for block categories.

Namespace

Drupal\block\Controller

Code

public function __construct(BlockManagerInterface $block_manager) {
  $this->blockManager = $block_manager;
}
doc_Drupal
2016-10-29 08:49:40
Comments
Leave a Comment

Please login to continue.