You are here

public function MenuBadgesManager::__construct in Menu Badges 8

Constructs a MenuBadgesManager object.

File

src/MenuBadgesManager.php, line 22

Class

MenuBadgesManager

Namespace

Drupal\menu_badges

Code

public function __construct(ConfigFactory $config_factory, RouteBuilderInterface $route_builder) {
  $this->config = $config_factory
    ->getEditable('menu_badges.settings');
  $this->routeBuilder = $route_builder;
}