You are here

public function MenuLinkContentMigrateSubscriber::__construct in Multiversion 8

Class constructor.

Parameters

\Drupal\Core\Database\Connection $connection:

\Drupal\Core\Menu\MenuLinkManagerInterface $menu_link_manager:

File

src/EventSubscriber/MenuLinkContentMigrateSubscriber.php, line 36

Class

MenuLinkContentMigrateSubscriber
MenuContentLinkMigrateSubscriber class.

Namespace

Drupal\multiversion\EventSubscriber

Code

public function __construct(Connection $connection, MenuLinkManagerInterface $menu_link_manager) {
  $this->connection = $connection;
  $this->menuLinkManager = $menu_link_manager;
}