function 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\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.