Make views aware of Behaviours such as SoftDelete to make button display conditional.
As I have purge and deleted buttons, it makes sense that they should not be included if the SoftDelete behaviour isn't attached to the model. Could also be removed if the Utils plugin isn't installed at all.
Make views aware of Behaviours such as SoftDelete to make button display conditional.
As I have purge and deleted buttons, it makes sense that they should not be included if the SoftDelete behaviour isn't attached to the model. Could also be removed if the
Utils
plugin isn't installed at all.