- π«π·France dydave
Just wanted to mention the use of the slash character
'/'
in plugin IDs can cause issues when rendering URLs with the plugin ID, see related issue π InvalidParameterException: Parameter "queueName" for route "queue_ui.inspect" must match "[^/]++" ("queue_unique/mymodule_entity_update" given) to generate a corresponding URL Active , where naming a queue with the plugin ID prefixed with'queue_unique/'
ends up breaking contrib module Queue UI β when it tries generating path withpath: admin/config/system/queue-ui/inspect/{queueName}
.The suggestion at #15 certainly makes sense and would help preventing these types of issues.
Thanks in advance for your help and feedbacks !
- ππΊHungary mxr576 Hungary
What about the maximum length of a plugin id?
- ππΊHungary mxr576 Hungary
IMO it would be awesome if the plugin class's FQCN could be use a plugin id because the id is just one additional magic string that you have to remember or should not forget updating if you change it in source. But that is not possible currently, the idea falling apart here and there...
- ππΊHungary mxr576 Hungary
Opened β¨ Support FQCN as plugin id Active and reported π Forked DocParser incorrectly parses ::class notations Needs review .