Provides a breadcrumb builder for nodes in a book.
Hierarchy
- class \Drupal\book\BookBreadcrumbBuilder implements BreadcrumbBuilderInterface uses StringTranslationTrait
File
- core/modules/book/src/BookBreadcrumbBuilder.php, line 17
Namespace
Drupal\book
Members
| Name | Modifiers | Type | Description |
|---|---|---|---|
| BookBreadcrumbBuilder::$account | protected | property | The current user account. |
| BookBreadcrumbBuilder::$nodeStorage | protected | property | The node storage. |
| BookBreadcrumbBuilder::applies | public | function | Whether this breadcrumb builder should be used to build the breadcrumb. Overrides BreadcrumbBuilderInterface::applies |
| BookBreadcrumbBuilder::build | public | function | Builds the breadcrumb. Overrides BreadcrumbBuilderInterface::build |
| BookBreadcrumbBuilder::__construct | public | function | Constructs the BookBreadcrumbBuilder. |
| 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.