Hide breadcrumbs completely on list view

Hi. Does anyone know how I can hide the breadcrumbs completely on a specific page? I want to hide them on a list view but leave them visible on the create and edit views.
2 Replies
ZedoX
ZedoX2y ago
Override the getBreadcrumbs (or similarly named) method on ListPage and return an empty array
binaryfire
binaryfireOP2y ago
Worked, thanks! For anyone else looking for the solution:
public function getBreadcrumbs(): array
{
return [];
}
public function getBreadcrumbs(): array
{
return [];
}

Did you find this page helpful?