© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•16mo ago•
5 replies
Hung Thai

How can I get the parent Resource from RelationManager class?

Hi.
I'm having a
UserResource 
UserResource 
class, which has the
ContactRelationManager
ContactRelationManager
.

In the Create/Edit/List pages of the
UserResource
UserResource
, I can use method like:
self::getResource()
self::getResource()
to point to the
UserResource 
UserResource 
class.
So, from the
ContactRelationManager 
ContactRelationManager 
class, how can I get the full path of the
UserResource 
UserResource 
class?

Thanks.
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Refetch RelationManager data on parent resource save
FilamentFFilament / ❓┊help
3y ago
Removing things from form schema added in parent resource class
FilamentFFilament / ❓┊help
3y ago
How I could use view page of Parent Resource view in RelationManager ViewAction()
FilamentFFilament / ❓┊help
3y ago
RelationManager creating "Parent" error
FilamentFFilament / ❓┊help
8mo ago