MenuRouterRebuildSubscriber::$connection

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php \Drupal\Core\EventSubscriber\MenuRouterRebuildSubscriber::connection
  2. 10 core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php \Drupal\Core\EventSubscriber\MenuRouterRebuildSubscriber::connection

The database connection.

Type: \Drupal\Core\Database\Connection

File

core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php, line 42

Class

MenuRouterRebuildSubscriber
Rebuilds the default menu links and runs menu-specific code if necessary.

Namespace

Drupal\Core\EventSubscriber

Code

protected $connection;

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