enableCascadingDelete

behaviour[enableCascadingDelete]

behaviour[enableCascadingDelete]
Type
boolean
Path
$GLOBALS['TCA'][$table]['columns'][$field]['config']['behaviour']
Scope
Proc.

Default true. Usually in inline relations, if a parent is deleted, all children are deleted along with the parent. This flag can be used to disable that cascading delete. Example usage: A frontend user (parent) has assigned invoices (children). If a frontend user is deleted, it could be useful to keep the invoices.