How to get panel id name?

How do I get it in the middle of a form or table or wherever?

I mean the example.com/>>>adminaltered<<</ part for your admin/panel.

I want to change it dynamically and not hardcode it in the prefix in the textfield. That's why I am asking.
Solution
filament()->getCurrentPanel()
?
Was this page helpful?