How can I hide the button to create a comment of the page index? I dont need this button.
thank you.
This is the solution.
public function configureActions(Actions $actions): Actions
{
return $actions
->remove(Crud::PAGE_INDEX, Action::NEW)
;
}