[Flow] Switch from DELETE to UPDATE column deleted

Bastian Waidelich bastian at typo3.org
Thu Apr 10 16:56:56 CEST 2014


Peter R wrote:

Hi Peter,

> is there an easy way to use a column like deleted in TYPO3?

Yes, there is.
You can use doctrine filters, for example the "SoftDeleteable"-Behavior 
from Gedmo [1].
See https://gist.github.com/bwaidelich/3917639 for an example.

If you use a current version of Flow, you can skip the AOP aspect and 
configure the filter via Settings.yaml (see [2]).



[1] http://gediminasm.org/


-- 
Bastian Waidelich


More information about the Flow mailing list