protected MenuLinkManager::getDiscovery()
Gets the plugin discovery.
Return value
\Drupal\Component\Plugin\Discovery\DiscoveryInterface
File
core/lib/Drupal/Core/Menu/MenuLinkManager.php, line 139
Class
MenuLinkManager Manages discovery, instantiation, and tree building of menu link plugins.
Namespace
Drupal\Core\Menu
Code
protected function getDiscovery() {
if (!isset($this->discovery)) {
$yaml_discovery = new YamlDiscovery('links.menu', $this->moduleHandler->getModule