Cover of the book Symfony 5: The Fast Track

Symfony 5: The Fast Track is the best book to learn modern Symfony development, from zero to production. +300 pages showcasing Symfony with Docker, APIs, queues & async tasks, Webpack, SPAs, etc.

WARNING: You are browsing the documentation for version 2.x which is not maintained anymore. If some of your projects are still using this version, consider upgrading.

13. Deleting objects

2.x version
Maintained Unmaintained

13. Deleting objects


This document is a stub representing a new work in progress. If you’re reading this you can help contribute, no matter what your experience level with Sonata is. Check out the issues on GitHub for more information about how to get involved.

This document will cover the Delete action and any related configuration options.

13.1. Basic configuration

To do:

  • global (yml) options that affect the delete action
  • a note about Routes and how disabling them disables the related action
  • any Admin configuration options that affect delete
  • a note about lifecycle events triggered by delete?

This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.