function BlockListController::create

Overrides ControllerBase::create

File

core/modules/block/src/Controller/BlockListController.php, line 36

Class

BlockListController
Defines a controller to list blocks.

Namespace

Drupal\block\Controller

Code

public static function create(ContainerInterface $container) {
  return new static($container->get('theme_handler'));
}

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