function SystemBreadcrumbBlock::build
Same name in other branches
- 8.9.x core/modules/system/src/Plugin/Block/SystemBreadcrumbBlock.php \Drupal\system\Plugin\Block\SystemBreadcrumbBlock::build()
- 10 core/modules/system/src/Plugin/Block/SystemBreadcrumbBlock.php \Drupal\system\Plugin\Block\SystemBreadcrumbBlock::build()
- 11.x core/modules/system/src/Plugin/Block/SystemBreadcrumbBlock.php \Drupal\system\Plugin\Block\SystemBreadcrumbBlock::build()
Overrides BlockPluginInterface::build
File
-
core/
modules/ system/ src/ Plugin/ Block/ SystemBreadcrumbBlock.php, line 71
Class
- SystemBreadcrumbBlock
- Provides a block to display the breadcrumbs.
Namespace
Drupal\system\Plugin\BlockCode
public function build() {
return $this->breadcrumbManager
->build($this->routeMatch)
->toRenderable();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.