function BlockController::create
Same name in other branches
- 9 core/modules/block/src/Controller/BlockController.php \Drupal\block\Controller\BlockController::create()
Overrides ControllerBase::create
File
-
core/
modules/ block/ src/ Controller/ BlockController.php, line 37
Class
- BlockController
- Controller routines for admin block routes.
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.