Class to define the menu_link breadcrumb builder.
Hierarchy
- class \Drupal\system\PathBasedBreadcrumbBuilder implements BreadcrumbBuilderInterface uses StringTranslationTrait
File
- core/modules/system/src/PathBasedBreadcrumbBuilder.php, line 30
Namespace
Drupal\system
Members
Name | Modifiers | Type | Description |
---|---|---|---|
PathBasedBreadcrumbBuilder::$accessManager | protected | property | The menu link access service. |
PathBasedBreadcrumbBuilder::$config | protected | property | Site config object. |
PathBasedBreadcrumbBuilder::$context | protected | property | The router request context. |
PathBasedBreadcrumbBuilder::$currentUser | protected | property | The current user object. |
PathBasedBreadcrumbBuilder::$pathProcessor | protected | property | The dynamic router service. |
PathBasedBreadcrumbBuilder::$router | protected | property | The dynamic router service. |
PathBasedBreadcrumbBuilder::$titleResolver | protected | property | The title resolver. |
PathBasedBreadcrumbBuilder::applies | public | function | Whether this breadcrumb builder should be used to build the breadcrumb. Overrides BreadcrumbBuilderInterface::applies |
PathBasedBreadcrumbBuilder::build | public | function | Builds the breadcrumb. Overrides BreadcrumbBuilderInterface::build |
PathBasedBreadcrumbBuilder::getRequestForPath | protected | function | Matches a path in the router. |
PathBasedBreadcrumbBuilder::__construct | public | function | Constructs the PathBasedBreadcrumbBuilder. |
StringTranslationTrait::$stringTranslation | protected | property | The string translation service. |
StringTranslationTrait::formatPlural | protected | function | Formats a string containing a count of items. |
StringTranslationTrait::getNumberOfPlurals | protected | function | Returns the number of plurals supported by a given language. |
StringTranslationTrait::getStringTranslation | protected | function | Gets the string translation service. |
StringTranslationTrait::setStringTranslation | public | function | Sets the string translation service to use. |
StringTranslationTrait::t | protected | function | Translates a string to the current language or to a given language. |
Please login to continue.