Skip to content

Commit

Permalink
BUGFIX cascade duplicates and deletes (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirish authored Oct 9, 2024
1 parent 0a97714 commit 7eb8259
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/Element/ElementCard.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,22 @@ class ElementCard extends BaseElement
'ElementLink',
];

/**
* @var array
* @config
*/
private static $cascade_duplicates = [
'ElementLink',
];

/**
* @var array
* @config
*/
private static array $cascade_deletes = [
'ElementLink',
];

/**
* @param bool $includerelations
* @return array
Expand Down

0 comments on commit 7eb8259

Please sign in to comment.