function LinksetController::create

Same name in other branches
  1. 11.x core/modules/system/src/Controller/LinksetController.php \Drupal\system\Controller\LinksetController::create()

Overrides AutowireTrait::create

File

core/modules/system/src/Controller/LinksetController.php, line 39

Class

LinksetController
Linkset controller.

Namespace

Drupal\system\Controller

Code

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

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