Handle duplication of pages with elemental-list properly

This commit is contained in:
Ryan Johnston 2018-06-26 14:48:29 -06:00
parent 60d9b718de
commit 17cf20a4f1
No known key found for this signature in database
GPG Key ID: 7DF2891B17435099
1 changed files with 5 additions and 1 deletions

View File

@ -26,6 +26,10 @@ class ElementList extends BaseElement
'Elements'
];
private static $cascade_duplicates = [
'Elements'
];
private static $extensions = [
ElementalAreasExtension::class
];
@ -35,7 +39,7 @@ class ElementList extends BaseElement
private static $title = 'Group';
private static $description = 'Orderable list of elements';
private static $singular_name = 'list';
private static $plural_name = 'lists';