Provides a forum breadcrumb base class.
This just holds the dependency-injected config, entity manager, and forum manager objects.
Hierarchy
- class \Drupal\forum\Breadcrumb\ForumBreadcrumbBuilderBase implements BreadcrumbBuilderInterface uses StringTranslationTrait
File
- core/modules/forum/src/Breadcrumb/ForumBreadcrumbBuilderBase.php, line 21
Namespace
Drupal\forum\Breadcrumb
Members
Name | Modifiers | Type | Description |
---|---|---|---|
BreadcrumbBuilderInterface::applies | public | function | Whether this breadcrumb builder should be used to build the breadcrumb. |
ForumBreadcrumbBuilderBase::$config | protected | property | Configuration object for this builder. |
ForumBreadcrumbBuilderBase::$entityManager | protected | property | The entity manager. |
ForumBreadcrumbBuilderBase::$forumManager | protected | property | The forum manager service. |
ForumBreadcrumbBuilderBase::build | public | function | Builds the breadcrumb. Overrides BreadcrumbBuilderInterface::build |
ForumBreadcrumbBuilderBase::__construct | public | function | Constructs a forum breadcrumb builder object. |
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.