public function CatalogBreadcrumbBuilder::__construct in Ubercart 8.4
Constructs a new CatalogBreadcrumbBuilder.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- uc_catalog/
src/ CatalogBreadcrumbBuilder.php, line 31
Class
- CatalogBreadcrumbBuilder
- Provides a custom breadcrumb builder for catalog node and listing pages.
Namespace
Drupal\uc_catalogCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->termStorage = $entity_type_manager
->getStorage('taxonomy_term');
}