public static function SystemBreadcrumbBlock::create in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/src/Plugin/Block/SystemBreadcrumbBlock.php \Drupal\system\Plugin\Block\SystemBreadcrumbBlock::create()
- 9 core/modules/system/src/Plugin/Block/SystemBreadcrumbBlock.php \Drupal\system\Plugin\Block\SystemBreadcrumbBlock::create()
File
- core/
modules/ system/ src/ Plugin/ Block/ SystemBreadcrumbBlock.php, line 58
Class
- SystemBreadcrumbBlock
- Provides a block to display the breadcrumbs.
Namespace
Drupal\system\Plugin\BlockCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container
->get('breadcrumb'), $container
->get('current_route_match'));
}