Closed (fixed)
Project:
Pathauto
Version:
8.x-1.8
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
2 Sep 2020 at 01:57 UTC
Updated:
14 Dec 2021 at 23:39 UTC
Jump to comment: Most recent
I was wondering if I could get the path auto alias for my custom entity?
Path auto is working for my custom entity, but the URL is still showing as `entity/1`.
Comments
Comment #2
admirernepali commentedNever mind,
{{ path('entity.custom_entity.canonical', {'custom_entity': entity.id()}) }}does gives the generated path. I just needed to clear the cache.Comment #3
gregglesGlad you were able to figure it out.