protected function MenuPositionRule::menuLinkManager in Menu Position 8
Gets the condition plugin manager.
Return value
\Drupal\Core\Plugin\Context\ContextRepositoryInterface The condition plugin manager.
File
- src/
Entity/ MenuPositionRule.php, line 337
Class
- MenuPositionRule
- Defines the MenuPositionRule entity.
Namespace
Drupal\menu_position\EntityCode
protected function menuLinkManager() {
if (!isset($this->menuLinkManager)) {
$this->menuLinkManager = \Drupal::service('plugin.manager.menu.link');
}
return $this->menuLinkManager;
}