DeleteLocalisationPolicy
class DeleteLocalisationPolicy implements DeletePolicy (View source)
A policy that deletes all localisations for a record
Requires that the object has {\TractorCow\Fluent\Extension\FluentExtension}
Methods
protected
bool
checkIfBlocked(DataObject $record, Locale $locale)
Determine if this object has other localisations blocking deletion
Details
bool
delete(DataObject $record)
No description
protected bool
checkIfBlocked(DataObject $record, Locale $locale)
Determine if this object has other localisations blocking deletion