function BreadcrumbManager::__construct
Same name in other branches
- 9 core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php \Drupal\Core\Breadcrumb\BreadcrumbManager::__construct()
- 8.9.x core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php \Drupal\Core\Breadcrumb\BreadcrumbManager::__construct()
- 10 core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php \Drupal\Core\Breadcrumb\BreadcrumbManager::__construct()
Constructs a \Drupal\Core\Breadcrumb\BreadcrumbManager object.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
File
-
core/
lib/ Drupal/ Core/ Breadcrumb/ BreadcrumbManager.php, line 50
Class
- BreadcrumbManager
- Provides a breadcrumb manager.
Namespace
Drupal\Core\BreadcrumbCode
public function __construct(ModuleHandlerInterface $module_handler) {
$this->moduleHandler = $module_handler;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.