0

How can I hide the button to create a comment of the page index? I dont need this button.

Comments list

thank you.

Coloured Panda
  • 3,293
  • 3
  • 20
  • 30
Juani08224
  • 41
  • 7

1 Answers1

0

This is the solution.

 
public function configureActions(Actions $actions): Actions
    {
        return $actions
        ->remove(Crud::PAGE_INDEX, Action::NEW)
        ;
    }
Juani08224
  • 41
  • 7