You are here

public static function MenuBuilder::create in Context 8.4

Same name and namespace in other branches
  1. 8 modules/context_ui/src/MenuBuilder.php \Drupal\context_ui\MenuBuilder::create()

File

modules/context_ui/src/MenuBuilder.php, line 39

Class

MenuBuilder
Implements the MenuBuilder class.

Namespace

Drupal\context_ui

Code

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