You are here

public static function UltimenuBase::create in Ultimenu 8.2

2 methods override UltimenuBase::create()
UltimenuManager::create in src/UltimenuManager.php
UltimenuSkin::create in src/UltimenuSkin.php

File

src/UltimenuBase.php, line 45

Class

UltimenuBase
Provides Ultimenu utility methods.

Namespace

Drupal\ultimenu

Code

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