You are here

public static function HeartbeatController::create in Heartbeat 8

Parameters

ContainerInterface $container:

Return value

static

Overrides ControllerBase::create

File

src/Controller/HeartbeatController.php, line 36

Class

HeartbeatController
Class HeartbeatController.

Namespace

Drupal\heartbeat\Controller

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('renderer'), $container
    ->get('plugin.manager.block'));
}