function ModuleAdminLinksHelper::__construct

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

Constructs a new service instance.

Parameters

\Drupal\Core\Menu\MenuLinkTreeInterface $menuLinkTree: The menu link tree service.

\Drupal\Core\Cache\MemoryCache\MemoryCacheInterface $memoryCache: The memory cache.

File

core/modules/system/src/ModuleAdminLinksHelper.php, line 29

Class

ModuleAdminLinksHelper
Provides a helper for generating module admin links.

Namespace

Drupal\system

Code

public function __construct(MenuLinkTreeInterface $menuLinkTree, MemoryCacheInterface $memoryCache) {
}

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