- πΊπ¦Ukraine HitchShock Ukraine
Added a patch from #3155978 to fix a context error.
- last update
about 1 year ago 76 pass, 9 fail - last update
about 1 year ago 72 pass, 18 fail
Hello
I Know that page manger module is under active development but I have a question and hope I could found one to answer.
Why the page manager route_alter is taking the entity label and not the variant title, this cause problems with breadcrumb.
$page_id = $entity->id();
$first = TRUE;
foreach ($entity->getVariants() as $variant_id => $variant) {
// Construct and add a new route.
$route = new Route(
$path,
[
'_entity_view' => 'page_manager_page_variant',
'_title' => $entity->label(),
'page_manager_page_variant' => $variant_id,
'page_manager_page' => $page_id,
'page_manager_page_variant_weight' => $variant->getWeight(),
// When adding multiple variants, the variant ID is added to the
// route name. In order to convey the base route name for this set
// of variants, add it as a parameter.
'base_route_name' => $route_name,
],
$req
Needs work
4.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Added a patch from #3155978 to fix a context error.