function BlockListController::create
Same name in other branches
- 8.9.x core/modules/block/src/Controller/BlockListController.php \Drupal\block\Controller\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\ControllerCode
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.