Disable Resource Title
How can I disable or hide a Resources Page Title?
On a Page I just do this:
public function getTitle(): string | Htmlable
{
return false;
}
But this don't work for my Resource Pages.
5 Replies
Can you just return null ? And remove the html maybe
thx for your answer. but this also dont work.
Just return empty string then
return '';
Solution
public function getTitle() : string
{
return '';
}
this works now, thx
but it removes also the breadcrumbs 😄