The breadcrumb feature is not only important for SEO but also for an improved usability of the site overall and currently only working for a "regular" article.
Create a NewsArticle content and check f.e. the GraphQL response in the explorer on the breadcrumb edge.
The functionality implemented in "modules/thunder_article/src/Breadcrumb/ThunderArticleBreadcrumbBuilder.php"
should be working for news articles as well so I propose to create a new file in the existing news_article module at "modules/thunder_news_article/src/Breadcrumb/ThunderNewsArticleBreadcrumbBuilder.php"
.
A better code structure should maybe be thought of so we don't need to duplicate anything.
Find a better solution for sharing the bulk of the code between the ThunderArticleBreadcrumbBuilder
class and the ThunderNewsArticleBreadcrumbBuilder
.
No interface changes in the admin area but this change should result in the breadcrumbs being displayed just like in the regular article.
The GraphQL schema nor the JSON API need to adapted.
No data model changes required. We should define a new service similar to the existing breadcrumb service implemented for the article.
Active
6.5
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
No activities found.