is there any possibility to change relation manager label

I want to change the label name of relation manager/s. is there any method like $navigationLabel???
Solution:
public static function getTitle(\Illuminate\Database\Eloquent\Model $ownerRecord, string $pageClass): string { return __('Ownerships'); }...
Jump to solution
5 Replies
justgkp
justgkpOP2y ago
Getting error Cannot make static method Filament\Resources\RelationManagers\RelationManager::getTitle() non static in class App\Filament\Resources\StudentResource\RelationManagers\StudentCircularsRelationManager
Solution
Kleis
Kleis2y ago
public static function getTitle(\Illuminate\Database\Eloquent\Model $ownerRecord, string $pageClass): string { return __('Ownerships'); }
BlackShadow
BlackShadow2y ago
public static function getTitle(Model $ownerRecord, string $pageClass): string
{
return __('Your Title Here');
}
public static function getTitle(Model $ownerRecord, string $pageClass): string
{
return __('Your Title Here');
}
justgkp
justgkpOP2y ago
this worked for me! Thanks a lot😍

Did you find this page helpful?